diff --git a/example/configuration.nix b/example/configuration.nix index 118937ca..0cc8ffd4 100644 --- a/example/configuration.nix +++ b/example/configuration.nix @@ -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"; }