summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2016-04-17 20:45:28 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2016-04-17 20:45:28 +0200
commit14927569761e0ce5cdccc85b2bb291cb4bec2147 (patch)
treeaf831088ef533c6f16c4e59f325b1d3ea15e8e97
parent630f772f9c9cc1b1f00e48d60731ae081bf2b19b (diff)
parente14a8db1e1d8372a7523f3198e4d26311ff68b17 (diff)
downloadnixos-14927569761e0ce5cdccc85b2bb291cb4bec2147.tar
nixos-14927569761e0ce5cdccc85b2bb291cb4bec2147.tar.gz
nixos-14927569761e0ce5cdccc85b2bb291cb4bec2147.tar.bz2
nixos-14927569761e0ce5cdccc85b2bb291cb4bec2147.tar.xz
nixos-14927569761e0ce5cdccc85b2bb291cb4bec2147.zip
Merge branch 'master' of git.yggdrasil.li:nixos
-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