chromium, kemaps, cli commands
This commit is contained in:
parent
6f4187b95e
commit
c255cdbb2c
|
@ -18,13 +18,15 @@
|
||||||
ripgrep
|
ripgrep
|
||||||
fzf
|
fzf
|
||||||
eza
|
eza
|
||||||
|
bat
|
||||||
|
killall
|
||||||
pciutils
|
pciutils
|
||||||
tree
|
tree
|
||||||
jq
|
jq
|
||||||
coreutils
|
coreutils
|
||||||
btop
|
btop
|
||||||
htop
|
htop
|
||||||
postgresql
|
postgresql_16
|
||||||
libqalculate
|
libqalculate
|
||||||
tmux
|
tmux
|
||||||
;
|
;
|
||||||
|
|
|
@ -9,6 +9,9 @@
|
||||||
shellAliases = {
|
shellAliases = {
|
||||||
ll = "ls -l";
|
ll = "ls -l";
|
||||||
src = "cd ~/.local/share/src";
|
src = "cd ~/.local/share/src";
|
||||||
|
no = "cd /etc/nixos";
|
||||||
|
cat = "bat --decorations=never";
|
||||||
|
ls = "eza";
|
||||||
};
|
};
|
||||||
history.size = 10000;
|
history.size = 10000;
|
||||||
history.path = "${config.xdg.dataHome}/zsh/history";
|
history.path = "${config.xdg.dataHome}/zsh/history";
|
||||||
|
|
|
@ -22,5 +22,6 @@
|
||||||
pkgs.texlive.combined.scheme-small
|
pkgs.texlive.combined.scheme-small
|
||||||
pkgs.libreoffice
|
pkgs.libreoffice
|
||||||
pkgs.set_wm_class
|
pkgs.set_wm_class
|
||||||
|
pkgs.xorg.xkill
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
@ -9,6 +9,7 @@
|
||||||
pkgs.st
|
pkgs.st
|
||||||
pkgs.xclip
|
pkgs.xclip
|
||||||
pkgs.feh
|
pkgs.feh
|
||||||
|
pkgs.ungoogled-chromium
|
||||||
];
|
];
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -76,6 +76,13 @@ in {
|
||||||
xkb.options = "caps:swapescape";
|
xkb.options = "caps:swapescape";
|
||||||
dpi = 196;
|
dpi = 196;
|
||||||
upscaleDefaultCursor = true;
|
upscaleDefaultCursor = true;
|
||||||
|
displayManager.sessionCommands = pkgs.writeShellScriptBin "key-remaps" ''
|
||||||
|
${pkgs.xorg.xmodmap}/bin/xmodmap -e "keycode 64 = Mode_switch"
|
||||||
|
${pkgs.xorg.xmodmap}/bin/xmodmap -e "keycode 43 = h H Left H"
|
||||||
|
${pkgs.xorg.xmodmap}/bin/xmodmap -e "keycode 44 = j J Down J"
|
||||||
|
${pkgs.xorg.xmodmap}/bin/xmodmap -e "keycode 45 = k K Up K"
|
||||||
|
${pkgs.xorg.xmodmap}/bin/xmodmap -e "keycode 46 = l L Right L"
|
||||||
|
'';
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -12,7 +12,6 @@
|
||||||
secretsDirectory = builtins.toString inputs.nix-secrets;
|
secretsDirectory = builtins.toString inputs.nix-secrets;
|
||||||
secretsFile = "${secretsDirectory}/secrets.yaml";
|
secretsFile = "${secretsDirectory}/secrets.yaml";
|
||||||
baseddataPostgresIp = configVars.networking.addresses.postgres.ip;
|
baseddataPostgresIp = configVars.networking.addresses.postgres.ip;
|
||||||
baseddataPostgresPort = configVars.networking.addresses.postgres.port;
|
|
||||||
username = "sam";
|
username = "sam";
|
||||||
in {
|
in {
|
||||||
users.users.${username} = {
|
users.users.${username} = {
|
||||||
|
@ -30,7 +29,7 @@ in {
|
||||||
"podman"
|
"podman"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
services.tailscale.enable = true;
|
||||||
sops.secrets = {
|
sops.secrets = {
|
||||||
"passwords/${username}" = {
|
"passwords/${username}" = {
|
||||||
sopsFile = "${secretsFile}";
|
sopsFile = "${secretsFile}";
|
||||||
|
|
|
@ -12,8 +12,8 @@ pkgs.stdenv.mkDerivation {
|
||||||
domain = "git.bitlab21.com";
|
domain = "git.bitlab21.com";
|
||||||
owner = "sam";
|
owner = "sam";
|
||||||
repo = "st";
|
repo = "st";
|
||||||
rev = "31e0ba8cb2086fb12741afc5fc3dfd938ca1f59b";
|
rev = "0e926487c85227aad9eed6667b91e149018014b8";
|
||||||
sha256 = "sha256-dbkXFbNr/lJveMeR7qXo7jGgF5+79S9vqKsLM7XM250=";
|
sha256 = "sha256-aUquoUotLKJDxOISIcx0RUybNvBrytc7+EF7PE1MRJU=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
|
|
Loading…
Reference in New Issue