summaryrefslogtreecommitdiff
path: root/installer/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'installer/default.nix')
-rw-r--r--installer/default.nix19
1 files changed, 18 insertions, 1 deletions
diff --git a/installer/default.nix b/installer/default.nix
index a0c84182..9043d59b 100644
--- a/installer/default.nix
+++ b/installer/default.nix
@@ -26,11 +26,28 @@
26 }; 26 };
27 27
28 environment.systemPackages = with pkgs; [ 28 environment.systemPackages = with pkgs; [
29 nvme-cli iotop mosh 29 nvme-cli iotop pciutils bottom
30
31 cudatoolkit
30 ]; 32 ];
31 33
32 zramSwap.enable = true; 34 zramSwap.enable = true;
33 35
36 users.defaultUserShell = pkgs.zsh;
37 programs = {
38 mosh.enable = true;
39 tmux.enable = true;
40 zsh.enable = true;
41 };
42
43 # nvidia
44 services.xserver.videoDrivers = [ "nvidia" ];
45 systemd.services.nvidia-control-devices = {
46 wantedBy = [ "multi-user.target" ];
47 serviceConfig.ExecStart = "${pkgs.linuxPackages.nvidia_x11.bin}/bin/nvidia-smi";
48 };
49 nixpkgs.config.allowUnfree = true;
50
34 system.stateVersion = config.system.nixos.release; # No state in installer 51 system.stateVersion = config.system.nixos.release; # No state in installer
35 }; 52 };
36} 53}