Windows :D
This commit is contained in:
parent
43a0a3006e
commit
9bd74a82a8
1 changed files with 13 additions and 0 deletions
|
@ -8,6 +8,7 @@
|
||||||
boot.initrd.kernelModules = [ "dm-snapshot" ];
|
boot.initrd.kernelModules = [ "dm-snapshot" ];
|
||||||
boot.kernelModules = [ "kvm-amd" ];
|
boot.kernelModules = [ "kvm-amd" ];
|
||||||
boot.extraModulePackages = [ ];
|
boot.extraModulePackages = [ ];
|
||||||
|
boot.supportedFilesystems = [ "ntfs" ];
|
||||||
|
|
||||||
# https://elis.nu/blog/2020/05/nixos-tmpfs-as-root/
|
# https://elis.nu/blog/2020/05/nixos-tmpfs-as-root/
|
||||||
fileSystems."/" = {
|
fileSystems."/" = {
|
||||||
|
@ -31,6 +32,18 @@
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
|
# Windows
|
||||||
|
fileSystems."/mnt/C" = {
|
||||||
|
device = "/dev/disk/by-label/C";
|
||||||
|
fsType = "ntfs-3g";
|
||||||
|
options = [ "rw" "uid=1000"];
|
||||||
|
};
|
||||||
|
fileSystems."/mnt/Backup" = {
|
||||||
|
device = "/dev/disk/by-label/Backup";
|
||||||
|
fsType = "ntfs-3g";
|
||||||
|
options = [ "rw" "uid=1000"];
|
||||||
|
};
|
||||||
|
|
||||||
# Enables DHCP on all ethernet and wireless LAN interfaces.
|
# Enables DHCP on all ethernet and wireless LAN interfaces.
|
||||||
networking.useDHCP = lib.mkDefault true;
|
networking.useDHCP = lib.mkDefault true;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue