From 5428b5d59a5b673bda6821296cd4729448829f8c Mon Sep 17 00:00:00 2001 From: Nydragon Date: Sun, 20 Oct 2024 12:14:14 +0000 Subject: [PATCH] refactor: configuration.nix to default.nix --- hosts/brontes/{configuration.nix => default.nix} | 0 hosts/marr/{configuration.nix => default.nix} | 0 hosts/nihilus/{configuration.nix => default.nix} | 0 hosts/raptus/{configuration.nix => default.nix} | 0 hosts/shan/{configuration.nix => default.nix} | 0 parts/lib/functions.nix | 2 +- 6 files changed, 1 insertion(+), 1 deletion(-) rename hosts/brontes/{configuration.nix => default.nix} (100%) rename hosts/marr/{configuration.nix => default.nix} (100%) rename hosts/nihilus/{configuration.nix => default.nix} (100%) rename hosts/raptus/{configuration.nix => default.nix} (100%) rename hosts/shan/{configuration.nix => default.nix} (100%) diff --git a/hosts/brontes/configuration.nix b/hosts/brontes/default.nix similarity index 100% rename from hosts/brontes/configuration.nix rename to hosts/brontes/default.nix diff --git a/hosts/marr/configuration.nix b/hosts/marr/default.nix similarity index 100% rename from hosts/marr/configuration.nix rename to hosts/marr/default.nix diff --git a/hosts/nihilus/configuration.nix b/hosts/nihilus/default.nix similarity index 100% rename from hosts/nihilus/configuration.nix rename to hosts/nihilus/default.nix diff --git a/hosts/raptus/configuration.nix b/hosts/raptus/default.nix similarity index 100% rename from hosts/raptus/configuration.nix rename to hosts/raptus/default.nix diff --git a/hosts/shan/configuration.nix b/hosts/shan/default.nix similarity index 100% rename from hosts/shan/configuration.nix rename to hosts/shan/default.nix diff --git a/parts/lib/functions.nix b/parts/lib/functions.nix index d502726..73bb69a 100644 --- a/parts/lib/functions.nix +++ b/parts/lib/functions.nix @@ -30,7 +30,7 @@ in lib.nixosSystem { inherit system; modules = [ - "${self}/hosts/${hostname}/configuration.nix" + "${self}/hosts/${hostname}" "${self}/options" "${self}/modules" { networking.hostName = hostname; }