Compare commits

..

6 Commits

4 changed files with 15 additions and 3 deletions

View File

@@ -2,7 +2,8 @@
{ {
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
file file
nodejs_20 lm_sensors # TODO: this shouldn't be installed on cloud nodes
nodejs_20 # TODO: this is for one job on nomad, it should just be a dependency there
neovim neovim
]; ];
} }

View File

@@ -17,10 +17,11 @@
persistence."/persist/home/ppetru" = { persistence."/persist/home/ppetru" = {
directories = [ directories = [
".local/share/fish"
".ssh" ".ssh"
"projects" "projects"
]; ];
files = [ ".local/share/fish/fish_history" ]; files = [ ];
allowOther = true; allowOther = true;
}; };
}; };

View File

@@ -3,6 +3,10 @@
fish = { fish = {
enable = true; enable = true;
shellAbbrs = {
fixssh = "eval $(tmux show-env | grep ^SSH_AUTH_SOCK | sed 's/=/ /;s/^/set /')";
};
shellInit = '' shellInit = ''
set fish_greeting set fish_greeting
@@ -49,6 +53,8 @@
historyLimit = 20000; historyLimit = 20000;
keyMode = "vi"; keyMode = "vi";
extraConfig = '' extraConfig = ''
bind-key t send-prefix
bind-key C-t last-window
set -g status-left "" set -g status-left ""
set -g status-right "" set -g status-right ""
''; '';

View File

@@ -18,7 +18,11 @@
"sd_mod" "sd_mod"
]; ];
boot.initrd.kernelModules = [ ]; boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-intel" ]; boot.kernelModules = [
"kvm-intel"
"coretemp"
"nct6775"
];
boot.extraModulePackages = [ ]; boot.extraModulePackages = [ ];
nixpkgs.hostPlatform = "x86_64-linux"; nixpkgs.hostPlatform = "x86_64-linux";