flake: use 'username' config value
This commit is contained in:
parent
3cc933de81
commit
ba15ad9674
|
@ -52,12 +52,12 @@
|
|||
];
|
||||
}
|
||||
home-manager.nixosModules.home-manager
|
||||
{
|
||||
home-manager.users.ambroisie = import ./home;
|
||||
({ config, ... }: {
|
||||
home-manager.users.${config.my.username} = import ./home;
|
||||
# Nix Flakes compatibility
|
||||
home-manager.useGlobalPkgs = true;
|
||||
home-manager.useUserPackages = true;
|
||||
}
|
||||
})
|
||||
# Include generic settings
|
||||
./modules
|
||||
# Include bundles of settings
|
||||
|
|
Loading…
Reference in a new issue