test
This commit is contained in:
parent
a5962782fe
commit
f9daca5d17
1 changed files with 0 additions and 27 deletions
|
@ -6,33 +6,6 @@
|
|||
(modulesPath + "/installer/scan/not-detected.nix")
|
||||
|
||||
];
|
||||
#####################################################################################
|
||||
# BEGIN hardware config
|
||||
#####################################################################################
|
||||
|
||||
# Use the extlinux boot loader. (NixOS wants to enable GRUB by default)
|
||||
boot.loader.grub.enable = false;
|
||||
# Enables the generation of /boot/extlinux/extlinux.conf
|
||||
boot.loader.generic-extlinux-compatible.enable = true;
|
||||
|
||||
boot.initrd.availableKernelModules = [ "xhci_pci" "usbhid" ];
|
||||
boot.initrd.kernelModules = [ ];
|
||||
boot.kernelModules = [ ];
|
||||
boot.extraModulePackages = [ ];
|
||||
|
||||
fileSystems."/" = {
|
||||
device = "/dev/disk/by-uuid/44444444-4444-4444-8888-888888888888";
|
||||
fsType = "ext4";
|
||||
};
|
||||
|
||||
swapDevices = [ ];
|
||||
networking.useDHCP = lib.mkDefault true;
|
||||
nixpkgs.hostPlatform = lib.mkDefault "aarch64-linux";
|
||||
powerManagement.cpuFreqGovernor = lib.mkDefault "ondemand";
|
||||
networking.hostName = "nixos-rpi4-img";
|
||||
#####################################################################################
|
||||
# END hardware config
|
||||
#####################################################################################
|
||||
# Temporary
|
||||
networking.firewall.allowedTCPPorts = [ 22 ];
|
||||
}
|
Loading…
Reference in a new issue