From ec9c82e706c719b82cae8c71aa295af89b31e4e8 Mon Sep 17 00:00:00 2001 From: Aly Raffauf Date: Fri, 14 Jun 2024 19:06:08 -0400 Subject: [PATCH] move disko import to flakes --- flake.nix | 1 + hosts/fallarbor/disko.nix | 5 +---- hosts/lavaridge/disko.nix | 5 +---- hosts/mandarin/disko.nix | 5 +---- hosts/petalburg/disko.nix | 5 +---- hosts/rustboro/disko.nix | 5 +---- 6 files changed, 6 insertions(+), 20 deletions(-) diff --git a/flake.nix b/flake.nix index e710ce59..4428baba 100644 --- a/flake.nix +++ b/flake.nix @@ -103,6 +103,7 @@ modules = [ ./hosts/${host} inputs.agenix.nixosModules.default + inputs.disko.nixosModules.disko inputs.home-manager.nixosModules.home-manager self.nixosModules.default ]; diff --git a/hosts/fallarbor/disko.nix b/hosts/fallarbor/disko.nix index 90076db9..fb8e8e3a 100644 --- a/hosts/fallarbor/disko.nix +++ b/hosts/fallarbor/disko.nix @@ -1,7 +1,4 @@ -{inputs, ...}: { - imports = [ - inputs.disko.nixosModules.disko - ]; +{ disko.devices = { disk = { vdb = { diff --git a/hosts/lavaridge/disko.nix b/hosts/lavaridge/disko.nix index 47ce23df..afa3b8ff 100644 --- a/hosts/lavaridge/disko.nix +++ b/hosts/lavaridge/disko.nix @@ -1,7 +1,4 @@ -{inputs, ...}: { - imports = [ - inputs.disko.nixosModules.disko - ]; +{ disko.devices = { disk = { vdb = { diff --git a/hosts/mandarin/disko.nix b/hosts/mandarin/disko.nix index 47ce23df..afa3b8ff 100644 --- a/hosts/mandarin/disko.nix +++ b/hosts/mandarin/disko.nix @@ -1,7 +1,4 @@ -{inputs, ...}: { - imports = [ - inputs.disko.nixosModules.disko - ]; +{ disko.devices = { disk = { vdb = { diff --git a/hosts/petalburg/disko.nix b/hosts/petalburg/disko.nix index 47ce23df..afa3b8ff 100644 --- a/hosts/petalburg/disko.nix +++ b/hosts/petalburg/disko.nix @@ -1,7 +1,4 @@ -{inputs, ...}: { - imports = [ - inputs.disko.nixosModules.disko - ]; +{ disko.devices = { disk = { vdb = { diff --git a/hosts/rustboro/disko.nix b/hosts/rustboro/disko.nix index 44e593a0..d3ba7d57 100644 --- a/hosts/rustboro/disko.nix +++ b/hosts/rustboro/disko.nix @@ -1,7 +1,4 @@ -{inputs, ...}: { - imports = [ - inputs.disko.nixosModules.disko - ]; +{ disko.devices = { disk = { vdb = {