diff options
| -rw-r--r-- | flake.lock | 21 | ||||
| -rw-r--r-- | flake.nix | 5 | ||||
| -rw-r--r-- | infra/hosts/hosts.nix | 3 |
3 files changed, 29 insertions, 0 deletions
@@ -1,5 +1,25 @@ { "nodes": { + "disko": { + "inputs": { + "nixpkgs": [ + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1780290312, + "narHash": "sha256-eTAlX0CwgB84Ts3GaBd944A3DRXVMzgA0EqroZBISUo=", + "owner": "nix-community", + "repo": "disko", + "rev": "115e5211780054d8a890b41f0b7734cafad54dfe", + "type": "github" + }, + "original": { + "owner": "nix-community", + "repo": "disko", + "type": "github" + } + }, "flake-parts": { "inputs": { "nixpkgs-lib": "nixpkgs-lib" @@ -66,6 +86,7 @@ }, "root": { "inputs": { + "disko": "disko", "flake-parts": "flake-parts", "import-tree": "import-tree", "nixpkgs": "nixpkgs", @@ -5,6 +5,11 @@ nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable"; # keep-sorted start block=yes newline_separated=yes + disko = { + url = "github:nix-community/disko"; + inputs.nixpkgs.follows = "nixpkgs"; + }; + flake-parts.url = "github:hercules-ci/flake-parts"; import-tree.url = "github:denful/import-tree"; diff --git a/infra/hosts/hosts.nix b/infra/hosts/hosts.nix index 9e7c69f..cdf26eb 100644 --- a/infra/hosts/hosts.nix +++ b/infra/hosts/hosts.nix @@ -15,7 +15,10 @@ name = host; value = inputs.nixpkgs.lib.nixosSystem { modules = [ + # keep-sorted start config.flake.modules.nixos."${host}" + inputs.disko.nixosModules.default + # keep-sorted end ]; }; }; |
