added NxACE (untested)
This commit is contained in:
@@ -7,28 +7,25 @@
|
||||
environment.systemPackages = if host == "NxNORTH" then with pkgs; [
|
||||
ntfs3g
|
||||
btrfs-progs
|
||||
] else with pkgs; [
|
||||
] else if host == "NxXPS" then with pkgs; [
|
||||
ntfs3g
|
||||
];
|
||||
] else [];
|
||||
|
||||
boot.initrd.availableKernelModules = [ "xhci_pci" "thunderbolt" "vmd" "nvme" "usb_storage" "sd_mod" "rtsx_pci_sdmmc" ];
|
||||
# boot.initrd.kernelModules = [ ];
|
||||
boot.kernelModules = [ "kvm-intel" ];
|
||||
boot.extraModulePackages = [ ];
|
||||
|
||||
# fileSystems = if lib.pathExists /dev/disk/by-label/shared == true then {
|
||||
# "/" = { device = "/dev/disk/by-label/nixos"; fsType = "ext4"; };
|
||||
# "/boot" = { device = "/dev/disk/by-label/EFI"; fsType = "vfat"; };
|
||||
# "/home/${user}/shared" = { device = "/dev/disk/by-label/shared"; fsType = if host == "NxXPS" then "ntfs" else "btrfs"; };
|
||||
# } else {
|
||||
# "/" = { device = "/dev/disk/by-label/nixos"; fsType = "ext4"; };
|
||||
# "/boot" = { device = "/dev/disk/by-label/EFI"; fsType = "vfat"; };
|
||||
# };
|
||||
fileSystems = {
|
||||
fileSystems = if host != "NxACE" then {
|
||||
"/" = { device = "/dev/disk/by-label/nixos"; fsType = "ext4"; };
|
||||
"/boot" = { device = "/dev/disk/by-label/EFI"; fsType = "vfat"; };
|
||||
"/home/${user}/shared" = { device = "/dev/disk/by-label/shared"; fsType = if host == "NxXPS" then "ntfs" else "btrfs"; };
|
||||
};
|
||||
} else {
|
||||
"/" = { device = "/dev/disk/by-label/nixos"; fsType = "ext4"; };
|
||||
"/boot" = { device = "/dev/disk/by-label/EFI"; fsType = "vfat"; };
|
||||
"/vault" = { device = "/dev/disk/by-label/vault"; fsType = "ext4"; };
|
||||
|
||||
};
|
||||
|
||||
|
||||
swapDevices = [
|
||||
|
||||
Reference in New Issue
Block a user