maybe fix unit ordering
All checks were successful
Hydra nixosConfigurations.container-default-x86_64-linux Hydra build #23213 of nixos-config:pr618:nixosConfigurations.container-default-x86_64-linux
Hydra nixosConfigurations.container-default-aarch64-linux Hydra build #23211 of nixos-config:pr618:nixosConfigurations.container-default-aarch64-linux
Hydra nixosConfigurations.container-default-riscv64-linux Hydra build #23212 of nixos-config:pr618:nixosConfigurations.container-default-riscv64-linux
Hydra nixosConfigurations.not522 Hydra build #23214 of nixos-config:pr618:nixosConfigurations.not522
Hydra checks.x86_64-linux.containers-default Hydra build #23210 of nixos-config:pr618:checks.x86_64-linux.containers-default
Hydra nixosConfigurations.not522-installer Hydra build #23215 of nixos-config:pr618:nixosConfigurations.not522-installer
All checks were successful
Hydra nixosConfigurations.container-default-x86_64-linux Hydra build #23213 of nixos-config:pr618:nixosConfigurations.container-default-x86_64-linux
Hydra nixosConfigurations.container-default-aarch64-linux Hydra build #23211 of nixos-config:pr618:nixosConfigurations.container-default-aarch64-linux
Hydra nixosConfigurations.container-default-riscv64-linux Hydra build #23212 of nixos-config:pr618:nixosConfigurations.container-default-riscv64-linux
Hydra nixosConfigurations.not522 Hydra build #23214 of nixos-config:pr618:nixosConfigurations.not522
Hydra checks.x86_64-linux.containers-default Hydra build #23210 of nixos-config:pr618:checks.x86_64-linux.containers-default
Hydra nixosConfigurations.not522-installer Hydra build #23215 of nixos-config:pr618:nixosConfigurations.not522-installer
This commit is contained in:
parent
e926aeda42
commit
68cc48faca
1 changed files with 6 additions and 0 deletions
|
@ -27,6 +27,9 @@ with lib; {
|
|||
"user@${toString cfg.uid}.service"
|
||||
"home-manager-${name}.service"
|
||||
];
|
||||
partOf = [
|
||||
"user@${toString cfg.uid}.service"
|
||||
];
|
||||
serviceConfig.Type = "oneshot";
|
||||
script = ''
|
||||
if [[ -e ${cfg.home} ]]; then
|
||||
|
@ -63,6 +66,9 @@ with lib; {
|
|||
before = [
|
||||
"user@${toString cfg.uid}.service"
|
||||
];
|
||||
partOf = [
|
||||
"user@${toString cfg.uid}.service"
|
||||
];
|
||||
};
|
||||
}
|
||||
])
|
||||
|
|
Loading…
Reference in a new issue