chore: Simplify example config imports

This commit is contained in:
Donovan Glover 2024-09-01 19:35:17 -04:00
parent 648bdf156a
commit db0217a3e7
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65

View File

@ -10,13 +10,11 @@ let
inherit (builtins) attrValues;
in
{
imports = attrValues {
inherit (nix-config.nixosModules) system shell desktop;
customConfig = {
modules.system.username = "asuna";
};
};
imports = with nix-config.nixosModules; [
system
shell
desktop
];
home-manager.sharedModules =
attrValues nix-config.homeModules
@ -50,4 +48,6 @@ in
});
})
];
modules.system.username = "asuna";
}