update pi4 config
This commit is contained in:
parent
081bc8dbc6
commit
7621581aa2
1 changed files with 8 additions and 16 deletions
|
@ -2,7 +2,6 @@
|
|||
modulesPath,
|
||||
lib,
|
||||
nixos-hardware,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
|
||||
|
@ -16,28 +15,21 @@
|
|||
initrd = {
|
||||
availableKernelModules = [ "xhci_pci" ];
|
||||
};
|
||||
kernelPackages = pkgs.linuxPackages_latest;
|
||||
loader = {
|
||||
generic-extlinux-compatible.enable = true;
|
||||
};
|
||||
};
|
||||
|
||||
boot.supportedFilesystems = lib.mkForce [
|
||||
"btrfs"
|
||||
"cifs"
|
||||
"f2fs"
|
||||
"jfs"
|
||||
"ntfs"
|
||||
"reiserfs"
|
||||
"vfat"
|
||||
"xfs"
|
||||
"bchachefs"
|
||||
];
|
||||
fileSystems."/" = {
|
||||
device = "/dev/disk/by-uuid/44444444-4444-4444-8888-888888888888";
|
||||
fsType = "ext4";
|
||||
};
|
||||
|
||||
#hardware.raspberry-pi."4".fkms-3d.enable = true;
|
||||
hardware.raspberry-pi."4".fkms-3d.enable = true;
|
||||
|
||||
networking = {
|
||||
useDHCP = lib.mkDefault true;
|
||||
};
|
||||
|
||||
#services.openssh.settings.PermitRootLogin = lib.mkForce "yes";
|
||||
|
||||
powerManagement.cpuFreqGovernor = "ondemand";
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue