We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7b9f407 commit 21e30c1Copy full SHA for 21e30c1
1 file changed
home-manager/flake.nix
@@ -17,9 +17,7 @@
17
let
18
system = builtins.currentSystem;
19
pkgs = nixpkgs.legacyPackages.${system};
20
- in
21
- {
22
- homeConfigurations.${builtins.getEnv "USER"} = home-manager.lib.homeManagerConfiguration {
+ homeConfig = home-manager.lib.homeManagerConfiguration {
23
inherit pkgs;
24
25
# Specify your home configuration modules here, for example,
@@ -29,5 +27,9 @@
29
27
# Optionally use extraSpecialArgs
30
28
# to pass through arguments to home.nix
31
};
+ in
+ {
32
+ homeConfigurations.${builtins.getEnv "USER"} = homeConfig;
33
+ packages.${system}.default = homeConfig.activationPackage;
34
35
}
0 commit comments