mirror of
https://github.com/nix-community/home-manager
synced 2025-01-30 21:05:02 +01:00
nixos: fix systemd.services position
This commit is contained in:
parent
b3184e1e23
commit
9fabb92d8e
1 changed files with 20 additions and 20 deletions
|
@ -48,6 +48,7 @@ in {
|
|||
lib.mkDefault (!cfg.useUserService);
|
||||
};
|
||||
}];
|
||||
};
|
||||
|
||||
systemd.services = mapAttrs' (_:
|
||||
{ home, programs, ... }:
|
||||
|
@ -68,7 +69,6 @@ in {
|
|||
];
|
||||
};
|
||||
}) cfg.users;
|
||||
};
|
||||
}
|
||||
(mkIf (cfg.users != { } && !cfg.useUserService) {
|
||||
systemd.services = mapAttrs' (_: usercfg:
|
||||
|
|
Loading…
Add table
Reference in a new issue