From 43809f154ff7f3f3cc06a39ab28a44fe14beb882 Mon Sep 17 00:00:00 2001 From: dish Date: Sat, 20 Jun 2026 11:06:32 -0400 Subject: [PATCH] [skye] add disko --- flake.lock | 21 +++++++++++++++++++++ flake.nix | 4 ++++ hosts/altaria/default.nix | 1 - hosts/skye-hosts.nix | 5 ++++- 4 files changed, 29 insertions(+), 2 deletions(-) diff --git a/flake.lock b/flake.lock index 22b652c4..8cc220ca 100644 --- a/flake.lock +++ b/flake.lock @@ -88,6 +88,26 @@ "type": "github" } }, + "disko": { + "inputs": { + "nixpkgs": [ + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1781152676, + "narHash": "sha256-RxWs5ND31KzTG7wvMM+PMfUjyNpmIEr999lqNARaM5o=", + "owner": "nix-community", + "repo": "disko", + "rev": "ff8702b4de27f72b4c78573dfb89ec74e36abdf1", + "type": "github" + }, + "original": { + "owner": "nix-community", + "repo": "disko", + "type": "github" + } + }, "dn42": { "inputs": { "bird": "bird", @@ -469,6 +489,7 @@ "agenix": "agenix", "buildbot-nix": "buildbot-nix", "ctp": "ctp", + "disko": "disko", "dn42": "dn42", "easy-hosts": "easy-hosts", "flake-compat": "flake-compat", diff --git a/flake.nix b/flake.nix index 0134448b..204fdc55 100644 --- a/flake.nix +++ b/flake.nix @@ -45,6 +45,10 @@ url = "github:catppuccin/nix"; inputs.nixpkgs.follows = "nixpkgs"; }; + disko = { + url = "github:nix-community/disko"; + inputs.nixpkgs.follows = "nixpkgs"; + }; dn42 = { url = "github:pyrox0/dn43.nix"; inputs.nixpkgs.follows = "nixpkgs"; diff --git a/hosts/altaria/default.nix b/hosts/altaria/default.nix index 07a3cdf5..2ffa467f 100644 --- a/hosts/altaria/default.nix +++ b/hosts/altaria/default.nix @@ -10,7 +10,6 @@ let in { imports = [ - inputs.disko.nixosModules.disko ./hardware.nix ./disk-config.nix ./services/modules.nix diff --git a/hosts/skye-hosts.nix b/hosts/skye-hosts.nix index ccd08231..37bf9fc7 100644 --- a/hosts/skye-hosts.nix +++ b/hosts/skye-hosts.nix @@ -1,4 +1,4 @@ -{ +{ inputs, ... }: { easy-hosts = { hosts = { dialga = { @@ -21,6 +21,9 @@ tags = [ "skye" ]; arch = "aarch64"; specialArgs.hostType = "server"; + modules = [ + inputs.disko.nixosModules.disko + ]; }; ninetails = { deployable = true; -- 2.51.2