reorganization
This commit is contained in:
parent
68b3035533
commit
c0eca37f9d
|
|
@ -3,7 +3,7 @@
|
||||||
outputs,
|
outputs,
|
||||||
vars,
|
vars,
|
||||||
flakeLib,
|
flakeLib,
|
||||||
modules ? [],
|
imports ? [],
|
||||||
...
|
...
|
||||||
}: {
|
}: {
|
||||||
useGlobalPkgs = true;
|
useGlobalPkgs = true;
|
||||||
|
|
@ -13,6 +13,6 @@
|
||||||
inherit (inputs) nix-colors;
|
inherit (inputs) nix-colors;
|
||||||
};
|
};
|
||||||
users.${vars.username} = {
|
users.${vars.username} = {
|
||||||
imports = modules;
|
inherit imports;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -20,7 +20,7 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
modules = [
|
modules = [
|
||||||
../hosts/${hostName}/configuration.nix
|
../profiles/nixos/${hostName}/configuration.nix
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -15,7 +15,7 @@
|
||||||
|
|
||||||
home-manager = flakeLib.mkHomeNixosModule {
|
home-manager = flakeLib.mkHomeNixosModule {
|
||||||
inherit inputs outputs vars flakeLib;
|
inherit inputs outputs vars flakeLib;
|
||||||
modules = [
|
imports = [
|
||||||
../../modules/home-manager/base.nix
|
../../modules/home-manager/base.nix
|
||||||
../../modules/home-manager/desktop.nix
|
../../modules/home-manager/desktop.nix
|
||||||
../../modules/home-manager/dev.nix
|
../../modules/home-manager/dev.nix
|
||||||
Loading…
Reference in New Issue