Fix run0
This commit is contained in:
parent
cbf0ba3586
commit
6b36ea4418
3 changed files with 16 additions and 5 deletions
|
@ -19,4 +19,11 @@
|
||||||
hashedPassword = secrets.passwords.users.ty;
|
hashedPassword = secrets.passwords.users.ty;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# Enable polkit user authentication
|
||||||
|
security.polkit.enable = true;
|
||||||
|
security.pam.services.systemd-run0 = {
|
||||||
|
setEnvironment = true;
|
||||||
|
pamMount = false;
|
||||||
|
}; # https://github.com/NixOS/nixpkgs/issues/361592#issuecomment-2516342739
|
||||||
}
|
}
|
|
@ -22,4 +22,8 @@
|
||||||
|
|
||||||
# Enable polkit user authentication
|
# Enable polkit user authentication
|
||||||
security.polkit.enable = true;
|
security.polkit.enable = true;
|
||||||
|
security.pam.services.systemd-run0 = {
|
||||||
|
setEnvironment = true;
|
||||||
|
pamMount = false;
|
||||||
|
}; # https://github.com/NixOS/nixpkgs/issues/361592#issuecomment-2516342739
|
||||||
}
|
}
|
Loading…
Reference in a new issue