builders: new home in root
parent
a705681094
commit
8ffa090603
|
@ -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 =
|
|
@ -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 [
|
||||||
|
|
Loading…
Reference in New Issue