changed rpi config

This commit is contained in:
2025-05-17 15:09:05 +02:00
parent 71390267eb
commit 66f7a1be30
5 changed files with 28 additions and 22 deletions

View File

@@ -32,12 +32,19 @@
outputs = inputs@{ self, nixpkgs, nixpkgs-unstable, home-manager, nix-colors, stylix, nixos-cosmic, sops-nix, disko, ... }:
let
system = "x86_64-linux";
system-arm = "aarch64-linux";
overlay-unstable = final: prev: {
unstable = import nixpkgs-unstable {
config.allowUnfree = true;
localSystem = { inherit system; };
};
};
overlay-unstable-arm = final: prev: {
unstable = import nixpkgs-unstable {
config.allowUnfree = true;
localSystem = { inherit system-arm; };
};
};
in
{
nixosConfigurations = {
@@ -163,12 +170,7 @@
pkgs = nixpkgs.legacyPackages.aarch64-linux;
extraSpecialArgs = { inherit inputs nix-colors; };
modules = [
({ config, pkgs, ... }: { nixpkgs.overlays = [ final: prev: {
unstable = import nixpkgs-unstable {
config.allowUnfree = true;
localSystem = { inherit "aarch64-linux"; };
};
} ]; })
({ config, pkgs, ... }: { nixpkgs.overlays = [ overlay-unstable ]; })
./hosts/p-th-rpi-01/home.nix
];