Move initial Home Manager configuration
This commit is contained in:
parent
bf8e3628d0
commit
8947c4abd2
3 changed files with 60 additions and 0 deletions
14
modules2/home-manager/base.nix
Normal file
14
modules2/home-manager/base.nix
Normal file
|
@ -0,0 +1,14 @@
|
|||
{ config, ... }:
|
||||
|
||||
{
|
||||
flake.modules.homeManager.base = args: {
|
||||
home = {
|
||||
homeDirectory = "/home/${config.flake.meta.owner.username}";
|
||||
username = config.flake.meta.owner.username;
|
||||
};
|
||||
|
||||
programs.home-manager.enable = true;
|
||||
|
||||
systemd.user.startServices = "sd-switch";
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue