hosts: add thanatos
This commit is contained in:
parent
d5239805a0
commit
c3fd5af18f
12 changed files with 246 additions and 20 deletions
18
flake.nix
18
flake.nix
|
|
@ -42,6 +42,13 @@
|
|||
repo = "nixos-hardware";
|
||||
ref = "master";
|
||||
};
|
||||
|
||||
disko = {
|
||||
type = "github";
|
||||
owner = "nix-community";
|
||||
repo = "disko";
|
||||
ref = "master";
|
||||
};
|
||||
};
|
||||
|
||||
outputs = {
|
||||
|
|
@ -49,6 +56,7 @@
|
|||
nixpkgs,
|
||||
home-manager,
|
||||
agenix,
|
||||
disko,
|
||||
...
|
||||
} @ inputs:
|
||||
{
|
||||
|
|
@ -147,6 +155,16 @@
|
|||
]
|
||||
++ sharedModules;
|
||||
};
|
||||
|
||||
thanatos = nixpkgs.lib.nixosSystem {
|
||||
inherit system;
|
||||
modules =
|
||||
[
|
||||
disko.nixosModules.default
|
||||
./thanatos.nix
|
||||
]
|
||||
++ sharedModules;
|
||||
};
|
||||
};
|
||||
}
|
||||
// inputs.flake-utils.lib.eachDefaultSystem (system: {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue