feat: Added live iso for nix
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
devices,
|
||||
inputs,
|
||||
overlays,
|
||||
lib,
|
||||
home-manager,
|
||||
nur,
|
||||
...
|
||||
@@ -15,25 +16,29 @@ builtins.listToAttrs (builtins.map (device: {
|
||||
inherit device;
|
||||
lanzaboote = inputs.lanzaboote;
|
||||
};
|
||||
modules = [
|
||||
nur.nixosModules.nur
|
||||
{nixpkgs.overlays = overlays;}
|
||||
./configuration.nix
|
||||
home-manager.nixosModules.home-manager
|
||||
inputs.lanzaboote.nixosModules.lanzaboote
|
||||
{
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
home-manager = {
|
||||
useGlobalPkgs = true;
|
||||
useUserPackages = true;
|
||||
extraSpecialArgs = {
|
||||
inherit inputs;
|
||||
inherit device;
|
||||
modules =
|
||||
[
|
||||
nur.nixosModules.nur
|
||||
{nixpkgs.overlays = overlays;}
|
||||
./configuration.nix
|
||||
home-manager.nixosModules.home-manager
|
||||
inputs.lanzaboote.nixosModules.lanzaboote
|
||||
{
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
home-manager = {
|
||||
useGlobalPkgs = true;
|
||||
useUserPackages = true;
|
||||
extraSpecialArgs = {
|
||||
inherit inputs;
|
||||
inherit device;
|
||||
};
|
||||
users.${device.user}.imports = [../common/home.nix];
|
||||
};
|
||||
users.${device.user}.imports = [../common/home.nix];
|
||||
};
|
||||
}
|
||||
];
|
||||
}
|
||||
]
|
||||
++ lib.optionals device.live [
|
||||
(nixpkgs + "/nixos/modules/installer/cd-dvd/installation-cd-minimal.nix")
|
||||
];
|
||||
};
|
||||
})
|
||||
devices)
|
||||
|
||||
Reference in New Issue
Block a user