feat: add iso
Signed-off-by: gwg313 <gwg313@pm.me>
This commit is contained in:
parent
bdede3c7b3
commit
d6ef8aeecc
3 changed files with 176 additions and 271 deletions
24
flake.nix
24
flake.nix
|
|
@ -120,6 +120,7 @@
|
|||
buildInputs = with pkgs; [
|
||||
alejandra
|
||||
apacheHttpd
|
||||
jq
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
@ -167,6 +168,22 @@
|
|||
};
|
||||
};
|
||||
|
||||
nixosConfigurations = {
|
||||
iso = nixpkgs.lib.nixosSystem {
|
||||
system = "x86_64-linux";
|
||||
specialArgs = {
|
||||
inherit user inputs outputs;
|
||||
};
|
||||
modules = [
|
||||
# > Our main nixos configuration file <
|
||||
|
||||
"${nixpkgs}/nixos/modules/installer/cd-dvd/installation-cd-graphical-gnome.nix"
|
||||
"${nixpkgs}/nixos/modules/installer/cd-dvd/channel.nix"
|
||||
./hosts/iso/configuration.nix
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
# Standalone home-manager configuration entrypoint
|
||||
# Available through 'home-manager --flake .#your-username@your-hostname'
|
||||
homeConfigurations = {
|
||||
|
|
@ -252,6 +269,13 @@
|
|||
};
|
||||
imports = [ ./hosts/panopticon/configuration.nix ];
|
||||
};
|
||||
|
||||
vault-tec = {
|
||||
deployment = {
|
||||
targetHost = "vault-tec"; # <- defined in ~/.ssh/config
|
||||
};
|
||||
imports = [ ./hosts/vault-tec/configuration.nix ];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue