builders: new home in root

sh-initrd-on-root
Zynh Ludwig 2024-08-22 00:17:55 -07:00
parent a705681094
commit 8ffa090603
2 changed files with 5 additions and 5 deletions

View File

@ -8,7 +8,7 @@ let
overlays = [ self.overlays.default ]; overlays = [ self.overlays.default ];
}); });
lib = nixpkgs.lib.extend (import ../lib); lib = nixpkgs.lib.extend (import ./lib);
inherit (inputs.home-manager.lib) homeManagerConfiguration; inherit (inputs.home-manager.lib) homeManagerConfiguration;
inherit (lib) nixosSystem; inherit (lib) nixosSystem;
@ -25,8 +25,8 @@ rec {
specialArgs = { inherit inputs self; }; specialArgs = { inherit inputs self; };
modules = [ modules = [
../hosts/${hostname}/hardware-configuration.nix ./hosts/${hostname}/hardware-configuration.nix
../hosts/${hostname}/configuration.nix ./hosts/${hostname}/configuration.nix
inputs.home-manager.nixosModules.default inputs.home-manager.nixosModules.default
{ {
home-manager.extraSpecialArgs = { home-manager.extraSpecialArgs = {
@ -57,7 +57,7 @@ rec {
extraSpecialArgs = { inherit inputs self; }; extraSpecialArgs = { inherit inputs self; };
modules = [ modules = [
../hosts/${configHost}/home.nix ./hosts/${configHost}/home.nix
]; ];
}); });
compileHomes = compileHomes =

View File

@ -16,7 +16,7 @@
outputs = outputs =
{ self, nixpkgs, ... }@inputs: { self, nixpkgs, ... }@inputs:
let let
builders = import ./lib/builders.nix inputs; builders = import ./builders.nix inputs;
in in
{ {
nixosConfigurations = builders.compileSystems [ nixosConfigurations = builders.compileSystems [