update pi4 config

This commit is contained in:
jopejoe1 2024-04-27 14:27:23 +02:00
parent 081bc8dbc6
commit 7621581aa2

View file

@ -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";
}