From 40b3d36d50a6aa18e3a155904af7de125a1dce5e Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Sun, 17 Apr 2016 19:47:50 +0200 Subject: vali mounting ntfs partitions --- vali-hw.nix | 12 ++++++++++++ vali.nix | 1 + 2 files changed, 13 insertions(+) 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 @@ fsType = "ext2"; }; + fileSystems."/media/C" = + { device = "/dev/disk/by-uuid/72AEB04AAEB0089D"; + fsType = "ntfs"; + options = [ "ro" "noexec" "nosuid" ]; + }; + + fileSystems."/media/D" = + { device = "/dev/disk/by-uuid/48281D17281D061A"; + fsType = "ntfs"; + options = [ "ro" "noexec" "nosuid" ]; + }; + swapDevices = [ { device = "/dev/disk/by-uuid/53fd36a6-9d1e-4316-ac21-8d38d89753ac"; } ]; diff --git a/vali.nix b/vali.nix index 4123cd75..ee71e493 100644 --- a/vali.nix +++ b/vali.nix @@ -54,6 +54,7 @@ rec { vim tmux mosh + ntfs-3g ]; # List services that you want to enable: -- cgit v1.2.3 From 08b9eea8865e20714489be13f9cb930e75e3a4e2 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Sun, 17 Apr 2016 19:48:55 +0200 Subject: cleaned up deprecated option --- vali.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/vali.nix b/vali.nix index ee71e493..6b448282 100644 --- a/vali.nix +++ b/vali.nix @@ -105,7 +105,6 @@ rec { enable = true; defaultUser = "gkleen"; }; - desktopManagerHandlesLidAndPower = false; sessionCommands = '' ${pkgs.xorg.xrandr}/bin/xrandr --output DP-2 --primary --mode '2560x1440' # services.xserver.xrandrHeads is proving unreliable ${pkgs.xorg.xrandr}/bin/xrandr --output DP-4 --left-of DP-2 -- cgit v1.2.3 From e14a8db1e1d8372a7523f3198e4d26311ff68b17 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Sun, 17 Apr 2016 19:49:13 +0200 Subject: typo --- vali.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vali.nix b/vali.nix index 6b448282..a1948421 100644 --- a/vali.nix +++ b/vali.nix @@ -54,7 +54,7 @@ rec { vim tmux mosh - ntfs-3g + ntfs3g ]; # List services that you want to enable: -- cgit v1.2.3