WIP: Infini-RASPBERRY: improve config

This commit is contained in:
Infinidoge 2024-06-23 21:33:02 +00:00
parent c50c9710f0
commit a2adaa5182
Signed by: Infinidoge
SSH key fingerprint: SHA256:oAMyvotlNFraMmZmr+p6AxnNfW/GioTs1pOn3V4tQ7A
3 changed files with 75 additions and 68 deletions

View file

@ -9,6 +9,7 @@ with lib;
system.stateVersion = "23.11";
modules = {
hardware.form.raspi = true;
boot.ignore = true;
};
nixpkgs.overlays = [
@ -18,7 +19,7 @@ with lib;
})
];
nixpkgs.hostPlatform.system = "aarch64-linux";
nixpkgs.hostPlatform = lib.mkForce "aarch64-linux";
modules.hardware = {
wireless.enable = mkDefault true;
@ -46,11 +47,16 @@ with lib;
};
};
fileSystems."/" = {
device = "/dev/nmcblk0p2";
fsType = "ext4";
};
documentation = {
enable = false;
doc.enable = false;
man.enable = false;
man.man-dp.enable = false;
man.man-db.enable = false;
man.mandoc.enable = false;
nixos.enable = false;
};