refactor: move windows drive mount out of hardware-configuration.nix
This commit is contained in:
parent
1f04150ff2
commit
268e698221
2 changed files with 7 additions and 6 deletions
|
@ -15,6 +15,13 @@ in {
|
||||||
boot.loader.systemd-boot.enable = true;
|
boot.loader.systemd-boot.enable = true;
|
||||||
boot.loader.efi.canTouchEfiVariables = true;
|
boot.loader.efi.canTouchEfiVariables = true;
|
||||||
|
|
||||||
|
# Allow nemesis to access files on the windows drive.
|
||||||
|
fileSystems."/mnt/windows" =
|
||||||
|
{ device = "/dev/nvme0n1p3";
|
||||||
|
fsType = "ntfs-3g";
|
||||||
|
options = [ "rw" "uid=rafiq" ];
|
||||||
|
};
|
||||||
|
|
||||||
# Graphics settings are defined here
|
# Graphics settings are defined here
|
||||||
hardware = {
|
hardware = {
|
||||||
graphics.enable = true;
|
graphics.enable = true;
|
||||||
|
|
|
@ -25,12 +25,6 @@
|
||||||
options = [ "fmask=0077" "dmask=0077" ];
|
options = [ "fmask=0077" "dmask=0077" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
fileSystems."/mnt/windows" =
|
|
||||||
{ device = "/dev/nvme0n1p3";
|
|
||||||
fsType = "ntfs-3g";
|
|
||||||
options = [ "rw" "uid=rafiq" ];
|
|
||||||
};
|
|
||||||
|
|
||||||
swapDevices =
|
swapDevices =
|
||||||
[ { device = "/dev/disk/by-uuid/1fb29964-4a65-4cf4-9b45-9534d35845bc"; }
|
[ { device = "/dev/disk/by-uuid/1fb29964-4a65-4cf4-9b45-9534d35845bc"; }
|
||||||
];
|
];
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue