conflict cleanup with mozilla and thunderbird mount
This commit is contained in:
parent
80fc93efe5
commit
aabf260a7f
1 changed files with 10 additions and 0 deletions
|
@ -69,6 +69,10 @@ with lib;
|
|||
partOf = [
|
||||
"user@${toString cfg.uid}.service"
|
||||
];
|
||||
conflicts = [
|
||||
"home-darkkirb-.mozilla.mount"
|
||||
"home-darkkirb-.thunderbird.mount"
|
||||
];
|
||||
serviceConfig.Type = "oneshot";
|
||||
script = ''
|
||||
if [[ -e ${cfg.home} ]]; then
|
||||
|
@ -100,11 +104,17 @@ with lib;
|
|||
{
|
||||
name = "home-manager-${name}";
|
||||
value = {
|
||||
wants = [
|
||||
"home-darkkirb-.mozilla.mount"
|
||||
"home-darkkirb-.thunderbird.mount"
|
||||
];
|
||||
wantedBy = [
|
||||
"user@${toString cfg.uid}.service"
|
||||
];
|
||||
after = [
|
||||
"cleanup-home-${name}.service"
|
||||
"home-darkkirb-.mozilla.mount"
|
||||
"home-darkkirb-.thunderbird.mount"
|
||||
];
|
||||
before = [
|
||||
"user@${toString cfg.uid}.service"
|
||||
|
|
Loading…
Reference in a new issue