summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--vali-hw.nix12
-rw-r--r--vali.nix2
2 files changed, 13 insertions, 1 deletions
diff --git a/vali-hw.nix b/vali-hw.nix
index eb387a41..0182ebad 100644
--- a/vali-hw.nix
+++ b/vali-hw.nix
@@ -28,6 +28,18 @@
28 fsType = "ext2"; 28 fsType = "ext2";
29 }; 29 };
30 30
31 fileSystems."/media/C" =
32 { device = "/dev/disk/by-uuid/72AEB04AAEB0089D";
33 fsType = "ntfs";
34 options = [ "ro" "noexec" "nosuid" ];
35 };
36
37 fileSystems."/media/D" =
38 { device = "/dev/disk/by-uuid/48281D17281D061A";
39 fsType = "ntfs";
40 options = [ "ro" "noexec" "nosuid" ];
41 };
42
31 swapDevices = 43 swapDevices =
32 [ { device = "/dev/disk/by-uuid/53fd36a6-9d1e-4316-ac21-8d38d89753ac"; } 44 [ { device = "/dev/disk/by-uuid/53fd36a6-9d1e-4316-ac21-8d38d89753ac"; }
33 ]; 45 ];
diff --git a/vali.nix b/vali.nix
index 4123cd75..a1948421 100644
--- a/vali.nix
+++ b/vali.nix
@@ -54,6 +54,7 @@ rec {
54 vim 54 vim
55 tmux 55 tmux
56 mosh 56 mosh
57 ntfs3g
57 ]; 58 ];
58 59
59 # List services that you want to enable: 60 # List services that you want to enable:
@@ -104,7 +105,6 @@ rec {
104 enable = true; 105 enable = true;
105 defaultUser = "gkleen"; 106 defaultUser = "gkleen";
106 }; 107 };
107 desktopManagerHandlesLidAndPower = false;
108 sessionCommands = '' 108 sessionCommands = ''
109 ${pkgs.xorg.xrandr}/bin/xrandr --output DP-2 --primary --mode '2560x1440' # services.xserver.xrandrHeads is proving unreliable 109 ${pkgs.xorg.xrandr}/bin/xrandr --output DP-2 --primary --mode '2560x1440' # services.xserver.xrandrHeads is proving unreliable
110 ${pkgs.xorg.xrandr}/bin/xrandr --output DP-4 --left-of DP-2 110 ${pkgs.xorg.xrandr}/bin/xrandr --output DP-4 --left-of DP-2