flake: import home and system in functions
This commit is contained in:
parent
6e6cd036d2
commit
7ec042f299
@ -66,7 +66,9 @@
|
|||||||
let
|
let
|
||||||
mapUserModules = lib.attrsets.mapAttrs (user: modules: {...}:
|
mapUserModules = lib.attrsets.mapAttrs (user: modules: {...}:
|
||||||
{
|
{
|
||||||
imports = modules;
|
imports = [
|
||||||
|
./home
|
||||||
|
] ++ modules;
|
||||||
config = {
|
config = {
|
||||||
home = { inherit stateVersion; };
|
home = { inherit stateVersion; };
|
||||||
};
|
};
|
||||||
@ -96,6 +98,7 @@
|
|||||||
lib.nixosSystem {
|
lib.nixosSystem {
|
||||||
inherit system;
|
inherit system;
|
||||||
modules = [
|
modules = [
|
||||||
|
./system
|
||||||
({pkgs, config, lib, ...}@args:
|
({pkgs, config, lib, ...}@args:
|
||||||
{
|
{
|
||||||
# Values for every single system that would not conceivably need
|
# Values for every single system that would not conceivably need
|
||||||
|
Loading…
x
Reference in New Issue
Block a user