few changes

This commit is contained in:
k3t
2026-03-12 23:37:17 -06:00
parent 0d0904b456
commit 1a6eb9a7a4
3 changed files with 14 additions and 1 deletions
+12 -1
View File
@@ -17,11 +17,12 @@
mkPiImage = modules: (nixpkgs.lib.nixosSystem {
system = "aarch64-linux";
specialArgs = { inherit impermanence nixos-hardware; };
specialArgs = { inherit impermanence nixos-hardware home-manager; };
modules = [
"${nixpkgs}/nixos/modules/installer/sd-card/sd-image-aarch64.nix"
impermanence.nixosModules.impermanence
nixos-hardware.nixosModules.raspberry-pi-4
home-manager.nixosModules.home-manager
] ++ modules;
}).config.system.build.sdImage;
in {
@@ -92,11 +93,21 @@
./modules/common.nix
./modules/pi-common.nix
./hosts/pi-car/configuration.nix
{
home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true;
home-manager.users.k3t = ./home/car.nix;
}
];
pi-htpc = mkPiImage [
./modules/common.nix
./modules/pi-common.nix
./hosts/pi-htpc/configuration.nix
{
home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true;
home-manager.users.k3t = ./home/desktop.nix;
}
];
};
};