🔥 clean up duplicate rpi configs

This commit is contained in:
James Walker 2024-02-17 13:25:00 -05:00
parent c9692d70eb
commit 15d95e6208
Signed by: walkah
SSH Key Fingerprint: SHA256:f7Gn4jO4BFHZxWfKTTzEAfWz+cLW51IyGFl9MjDyZGI
3 changed files with 4 additions and 20 deletions

View File

@ -1717,11 +1717,11 @@
},
"nixpkgs_7": {
"locked": {
"lastModified": 1708001613,
"narHash": "sha256-woOmAXW05XnqlLn7dKzCkRAEOSOdA/Z2ndVvKcjid94=",
"lastModified": 1708151420,
"narHash": "sha256-MGT/4aGCWQPQiu6COqJdCj9kSpLPiShgbwpbC38YXC8=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "085589047343aad800c4d305cf7b98e8a3d51ae2",
"rev": "6e2f00c83911461438301db0dba5281197fe4b3a",
"type": "github"
},
"original": {

View File

@ -11,16 +11,7 @@
../../modules/sops
];
boot = {
# Use the extlinux boot loader. (NixOS wants to enable GRUB by default)
loader.grub.enable = false;
# Enables the generation of /boot/extlinux/extlinux.conf
loader.generic-extlinux-compatible.enable = true;
kernelPackages = pkgs.linuxKernel.packages.linux_rpi4;
};
hardware = {
enableRedistributableFirmware = true;
raspberry-pi."4".poe-hat.enable = true;
};

View File

@ -5,18 +5,11 @@
{
imports = [ (modulesPath + "/installer/scan/not-detected.nix") ];
boot = {
initrd = {
availableKernelModules = [ "usbhid" ];
kernelModules = [ ];
};
kernelModules = [ ];
extraModulePackages = [ ];
};
fileSystems."/" = {
device = "/dev/disk/by-label/NIXOS_SD";
fsType = "ext4";
options = [ "noatime" ];
};
swapDevices = [ ];