From 8ffa090603415473cf8eb5182d1624c768bf8947 Mon Sep 17 00:00:00 2001 From: Zynh Ludwig Date: Thu, 22 Aug 2024 00:17:55 -0700 Subject: [PATCH] builders: new home in root --- lib/builders.nix => builders.nix | 8 ++++---- flake.nix | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) rename lib/builders.nix => builders.nix (89%) diff --git a/lib/builders.nix b/builders.nix similarity index 89% rename from lib/builders.nix rename to builders.nix index fd44bb9..13595a2 100644 --- a/lib/builders.nix +++ b/builders.nix @@ -8,7 +8,7 @@ let overlays = [ self.overlays.default ]; }); - lib = nixpkgs.lib.extend (import ../lib); + lib = nixpkgs.lib.extend (import ./lib); inherit (inputs.home-manager.lib) homeManagerConfiguration; inherit (lib) nixosSystem; @@ -25,8 +25,8 @@ rec { specialArgs = { inherit inputs self; }; modules = [ - ../hosts/${hostname}/hardware-configuration.nix - ../hosts/${hostname}/configuration.nix + ./hosts/${hostname}/hardware-configuration.nix + ./hosts/${hostname}/configuration.nix inputs.home-manager.nixosModules.default { home-manager.extraSpecialArgs = { @@ -57,7 +57,7 @@ rec { extraSpecialArgs = { inherit inputs self; }; modules = [ - ../hosts/${configHost}/home.nix + ./hosts/${configHost}/home.nix ]; }); compileHomes = diff --git a/flake.nix b/flake.nix index a5c139a..e38c403 100644 --- a/flake.nix +++ b/flake.nix @@ -16,7 +16,7 @@ outputs = { self, nixpkgs, ... }@inputs: let - builders = import ./lib/builders.nix inputs; + builders = import ./builders.nix inputs; in { nixosConfigurations = builders.compileSystems [