blob: a8af48b3741bebe7278ff29331a0a2909e6091f5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
{ flake, flakeInputs, path, userName, config, lib, utils, ... }:
with lib;
{
config = {
users.users.${userName} = {}; # Just make sure the user is created
home-manager.users.${userName} = {};
systemd.services."home-manager-${utils.escapeSystemdPath userName}" = lib.mkIf (!config.home-manager.enableSystemd) {
restartIfChanged = false; # only run once on startup, deploy to running system with deploy-rs
};
};
}
|