???
All checks were successful
Hydra nixosConfigurations.container-default-x86_64-linux Hydra build #23826 of nixos-config:pr618:nixosConfigurations.container-default-x86_64-linux
Hydra nixosConfigurations.container-default-riscv64-linux Hydra build #23825 of nixos-config:pr618:nixosConfigurations.container-default-riscv64-linux
Hydra nixosConfigurations.container-default-aarch64-linux Hydra build #23824 of nixos-config:pr618:nixosConfigurations.container-default-aarch64-linux
Hydra checks.x86_64-linux.containers-default Hydra build #23823 of nixos-config:pr618:checks.x86_64-linux.containers-default
All checks were successful
Hydra nixosConfigurations.container-default-x86_64-linux Hydra build #23826 of nixos-config:pr618:nixosConfigurations.container-default-x86_64-linux
Hydra nixosConfigurations.container-default-riscv64-linux Hydra build #23825 of nixos-config:pr618:nixosConfigurations.container-default-riscv64-linux
Hydra nixosConfigurations.container-default-aarch64-linux Hydra build #23824 of nixos-config:pr618:nixosConfigurations.container-default-aarch64-linux
Hydra checks.x86_64-linux.containers-default Hydra build #23823 of nixos-config:pr618:checks.x86_64-linux.containers-default
This commit is contained in:
parent
697b4da3b8
commit
0b985bb565
1 changed files with 4 additions and 4 deletions
|
@ -38,15 +38,12 @@ with lib; {
|
|||
name = "cleanup-home-${name}";
|
||||
description = "Clean home directory for ${name}";
|
||||
value = {
|
||||
wantedBy = [
|
||||
"user@${toString cfg.uid}.service"
|
||||
];
|
||||
before = [
|
||||
"user@${toString cfg.uid}.service"
|
||||
"home-manager-${name}.service"
|
||||
];
|
||||
partOf = [
|
||||
"user@${toString cfg.uid}.service"
|
||||
"home-manager-${name}.service"
|
||||
];
|
||||
serviceConfig.Type = "oneshot";
|
||||
script = ''
|
||||
|
@ -79,6 +76,9 @@ with lib; {
|
|||
{
|
||||
name = "home-manager-${name}";
|
||||
value = {
|
||||
wants = [
|
||||
"cleanup-home-${name}"
|
||||
];
|
||||
wantedBy = mkForce [
|
||||
"user@${toString cfg.uid}.service"
|
||||
];
|
||||
|
|
Loading…
Reference in a new issue