This commit is contained in:
mjallen18
2025-06-10 14:25:07 -05:00
parent 0f2952ccae
commit 35547ca183
5 changed files with 148 additions and 79 deletions

View File

@@ -10,11 +10,11 @@ in
{
imports = [
./adguard.nix
./argononed.nix
# ./argononed.nix
./boot.nix
./impermanence.nix
./networking.nix
./pi4-hw.nix
# ./pi4-hw.nix
./sops.nix
];
@@ -29,6 +29,29 @@ in
};
};
# Configure nixpkgs
nixpkgs = {
overlays = lib.mkAfter [
(self: super: {
# This is used in (modulesPath + "/hardware/all-firmware.nix") when at least
# enableRedistributableFirmware is enabled
# I know no easier way to override this package
inherit (kernelBundle) raspberrypiWirelessFirmware;
# Some derivations want to use it as an input,
# e.g. raspberrypi-dtbs, omxplayer, sd-image-* modules
inherit (kernelBundle) raspberrypifw;
})
];
};
system.nixos.tags = let
cfg = config.boot.loader.raspberryPi;
in [
"raspberry-pi-${cfg.variant}"
cfg.bootloader
config.boot.kernelPackages.kernel.version
];
programs.zsh.enable = true;
hardware.i2c.enable = true;