mirror of
https://github.com/nix-community/home-manager
synced 2025-02-23 08:35:08 +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);
|
lib.mkDefault (!cfg.useUserService);
|
||||||
};
|
};
|
||||||
}];
|
}];
|
||||||
|
};
|
||||||
|
|
||||||
systemd.services = mapAttrs' (_:
|
systemd.services = mapAttrs' (_:
|
||||||
{ home, programs, ... }:
|
{ home, programs, ... }:
|
||||||
|
@ -68,7 +69,6 @@ in {
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
}) cfg.users;
|
}) cfg.users;
|
||||||
};
|
|
||||||
}
|
}
|
||||||
(mkIf (cfg.users != { } && !cfg.useUserService) {
|
(mkIf (cfg.users != { } && !cfg.useUserService) {
|
||||||
systemd.services = mapAttrs' (_: usercfg:
|
systemd.services = mapAttrs' (_: usercfg:
|
||||||
|
|
Loading…
Add table
Reference in a new issue