mirror of
https://github.com/tuxdotrs/nix-config.git
synced 2026-05-07 02:16:33 +05:30
14 lines
270 B
Nix
14 lines
270 B
Nix
{
|
|
flake.modules.homeManager.core =
|
|
{ userName, ... }:
|
|
{
|
|
programs.home-manager.enable = true;
|
|
systemd.user.startServices = "sd-switch";
|
|
|
|
home = {
|
|
username = "${userName}";
|
|
homeDirectory = "/home/${userName}";
|
|
};
|
|
};
|
|
}
|