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:
parent
1c79781936
commit
a080a07b21
3 changed files with 15 additions and 4 deletions
|
@ -11,6 +11,21 @@ in
|
||||||
../users/nrd
|
../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 = [
|
boot.initrd.availableKernelModules = [
|
||||||
"xhci_pci"
|
"xhci_pci"
|
||||||
"ehci_pci"
|
"ehci_pci"
|
||||||
|
|
|
@ -1,3 +0,0 @@
|
||||||
{
|
|
||||||
fileSystems = {};
|
|
||||||
}
|
|
|
@ -17,7 +17,6 @@ in
|
||||||
|
|
||||||
imports = [
|
imports = [
|
||||||
../local/locale.nix
|
../local/locale.nix
|
||||||
../local/file-systems.nix
|
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue