core: don't import file systems

In order not to conflict with different kinds of configurations, i.e.
nixos disk images, don't have core profile import file-systems. Instead
declare `fileSystems` individually in host profiles.
This commit is contained in:
Timothy DeHerrera 2020-01-01 19:21:15 -07:00
parent 1c79781936
commit a080a07b21
No known key found for this signature in database
GPG key ID: 8985725DB5B0C122
3 changed files with 15 additions and 4 deletions

View file

@ -11,6 +11,21 @@ in
../users/nrd
];
fileSystems."/" = {
device = "/dev/disk/by-uuid/5c0bf17c-6df1-4618-88f8-48a4249adb30";
fsType = "xfs";
};
fileSystems."/boot" = {
device = "/dev/disk/by-uuid/B361-1241";
fsType = "vfat";
};
fileSystems."/srv" = {
device = "/dev/disk/by-uuid/2a21bc0b-f30a-4001-8976-f39adf805daa";
fsType = "xfs";
};
boot.initrd.availableKernelModules = [
"xhci_pci"
"ehci_pci"

View file

@ -1,3 +0,0 @@
{
fileSystems = {};
}

View file

@ -17,7 +17,6 @@ in
imports = [
../local/locale.nix
../local/file-systems.nix
];