From 42b94d8bb406cafc00646c8a48df13f940de675b Mon Sep 17 00:00:00 2001 From: GarandPLG Date: Fri, 27 Mar 2026 15:18:00 +0100 Subject: [PATCH] Move hosts and modules out of src fix flake import --- flake.nix | 7 ++++--- {src/hosts => hosts}/Garand-Desktop/default.nix | 0 {src/hosts => hosts}/Garand-Desktop/hardware.nix | 0 {src/hosts => hosts}/Garand-Desktop/home-modules.nix | 0 {src/hosts => hosts}/Garand-Desktop/system-modules.nix | 0 {src/hosts => hosts}/Garand-Desktop/system-packages.nix | 0 {src/hosts => hosts}/Garand-Desktop/variables.nix | 0 {src/modules => modules}/core/boot.nix | 0 8 files changed, 4 insertions(+), 3 deletions(-) rename {src/hosts => hosts}/Garand-Desktop/default.nix (100%) rename {src/hosts => hosts}/Garand-Desktop/hardware.nix (100%) rename {src/hosts => hosts}/Garand-Desktop/home-modules.nix (100%) rename {src/hosts => hosts}/Garand-Desktop/system-modules.nix (100%) rename {src/hosts => hosts}/Garand-Desktop/system-packages.nix (100%) rename {src/hosts => hosts}/Garand-Desktop/variables.nix (100%) rename {src/modules => modules}/core/boot.nix (100%) diff --git a/flake.nix b/flake.nix index 39ac7c2..e914190 100644 --- a/flake.nix +++ b/flake.nix @@ -9,7 +9,8 @@ import-tree.url = "github:vic/import-tree"; }; - outputs = inputs: inputs.flake-parts.lib.mkFlake { - inherit inputs; - } (inputs.import-tree ./src); + outputs = inputs: + inputs.flake-parts.lib.mkFlake { + inherit inputs; + } (inputs.import-tree ./.); } diff --git a/src/hosts/Garand-Desktop/default.nix b/hosts/Garand-Desktop/default.nix similarity index 100% rename from src/hosts/Garand-Desktop/default.nix rename to hosts/Garand-Desktop/default.nix diff --git a/src/hosts/Garand-Desktop/hardware.nix b/hosts/Garand-Desktop/hardware.nix similarity index 100% rename from src/hosts/Garand-Desktop/hardware.nix rename to hosts/Garand-Desktop/hardware.nix diff --git a/src/hosts/Garand-Desktop/home-modules.nix b/hosts/Garand-Desktop/home-modules.nix similarity index 100% rename from src/hosts/Garand-Desktop/home-modules.nix rename to hosts/Garand-Desktop/home-modules.nix diff --git a/src/hosts/Garand-Desktop/system-modules.nix b/hosts/Garand-Desktop/system-modules.nix similarity index 100% rename from src/hosts/Garand-Desktop/system-modules.nix rename to hosts/Garand-Desktop/system-modules.nix diff --git a/src/hosts/Garand-Desktop/system-packages.nix b/hosts/Garand-Desktop/system-packages.nix similarity index 100% rename from src/hosts/Garand-Desktop/system-packages.nix rename to hosts/Garand-Desktop/system-packages.nix diff --git a/src/hosts/Garand-Desktop/variables.nix b/hosts/Garand-Desktop/variables.nix similarity index 100% rename from src/hosts/Garand-Desktop/variables.nix rename to hosts/Garand-Desktop/variables.nix diff --git a/src/modules/core/boot.nix b/modules/core/boot.nix similarity index 100% rename from src/modules/core/boot.nix rename to modules/core/boot.nix