feat: Added stuff
This commit is contained in:
@@ -9,6 +9,7 @@
|
||||
networking.useNetworkd = true;
|
||||
systemd.services.NetworkManager-wait-online.enable = false;
|
||||
systemd.network.wait-online.enable = false;
|
||||
|
||||
system.nixos.tags = let
|
||||
cfg = config.boot.loader.raspberryPi;
|
||||
in [
|
||||
@@ -16,4 +17,17 @@
|
||||
cfg.bootloader
|
||||
config.boot.kernelPackages.kernel.version
|
||||
];
|
||||
|
||||
hardware.raspberry-pi.config = {
|
||||
dtparam = "audio=on";
|
||||
camera_auto_detect = 0;
|
||||
display_auto_detect = 0;
|
||||
auto_initramfs = 1;
|
||||
disable_fw_kms_setup = 1;
|
||||
arm_boost = 1;
|
||||
arm_64bit = 1;
|
||||
all = {
|
||||
usb_max_current_enable = 1;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
@@ -19,16 +19,19 @@
|
||||
modules = [
|
||||
{
|
||||
imports = with nixos-rpi.nixosModules; [
|
||||
nixos-raspberrypi.lib.inject-overlays
|
||||
raspberry-pi-5.base
|
||||
raspberry-pi-5.display-vc4
|
||||
raspberry-pi-5.bluetooth
|
||||
trusted-nix-caches
|
||||
nixpkgs-rpi
|
||||
nixos-raspberrypi.lib.inject-overlays-global
|
||||
];
|
||||
}
|
||||
{nixpkgs.overlays = overlays;}
|
||||
nur.modules.nixos.default
|
||||
inputs.sops-nix.nixosModules.sops
|
||||
home-manager.nixosModules.home-manager
|
||||
inputs.lanzaboote.nixosModules.lanzaboote
|
||||
inputs.arion.nixosModules.arion
|
||||
./configuration.nix
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user