mirror of
https://github.com/donovanglover/nix-config.git
synced 2025-06-20 01:38:02 +02:00
chore: Simplify example config imports
This commit is contained in:
parent
648bdf156a
commit
db0217a3e7
@ -10,13 +10,11 @@ let
|
|||||||
inherit (builtins) attrValues;
|
inherit (builtins) attrValues;
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
imports = attrValues {
|
imports = with nix-config.nixosModules; [
|
||||||
inherit (nix-config.nixosModules) system shell desktop;
|
system
|
||||||
|
shell
|
||||||
customConfig = {
|
desktop
|
||||||
modules.system.username = "asuna";
|
];
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
home-manager.sharedModules =
|
home-manager.sharedModules =
|
||||||
attrValues nix-config.homeModules
|
attrValues nix-config.homeModules
|
||||||
@ -50,4 +48,6 @@ in
|
|||||||
});
|
});
|
||||||
})
|
})
|
||||||
];
|
];
|
||||||
|
|
||||||
|
modules.system.username = "asuna";
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user