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