test
This commit is contained in:
parent
9ea3765c1a
commit
3f772551d2
2 changed files with 6 additions and 5 deletions
|
@ -42,7 +42,7 @@
|
|||
"albert@nixos-rpi4-03" = libx.mkHome { hostname = "nixos-rpi4-03"; platform = "aarch64-linux"; };
|
||||
};
|
||||
imageConfigurations = {
|
||||
nixos-rpi4-img = nixos-generators.nixosGenerate { system = "aarch64-linux"; format = "sd-aarch64"; };
|
||||
nixos-rpi4-img = libx.mkImage { hostname = "nixos-rpi4-img"; platform = "aarch64-linux"; format = "sd-aarch64"; };
|
||||
};
|
||||
};
|
||||
}
|
|
@ -41,9 +41,10 @@
|
|||
platform ? "x86_64-linux",
|
||||
installer ,
|
||||
gpu ? null,
|
||||
theme ? "default"
|
||||
}: inputs.nixpkgs.lib.nixosSystem {
|
||||
specialArgs = { inherit inputs outputs desktop hostname username stateVersion gpu platform theme; };
|
||||
theme ? "default",
|
||||
format
|
||||
}: inputs.nixos-generators.nixosGenerate {
|
||||
specialArgs = { inherit inputs outputs desktop hostname username stateVersion gpu platform theme format; };
|
||||
system = "$platform";
|
||||
modules = [
|
||||
../nixos
|
||||
|
@ -51,7 +52,7 @@
|
|||
inputs.sops-nix.nixosModules.sops
|
||||
inputs.lanzaboote.nixosModules.lanzaboote
|
||||
inputs.home-manager.nixosModules.home-manager {
|
||||
extraSpecialArgs = { inherit inputs outputs desktop hostname platform username hmStateVersion theme; };
|
||||
extraSpecialArgs = { inherit inputs outputs desktop hostname platform username hmStateVersion theme format; };
|
||||
|
||||
home-manager.useGlobalPkgs = true;
|
||||
home-manager.useUserPackages = true;
|
||||
|
|
Loading…
Reference in a new issue