summaryrefslogtreecommitdiffstats
path: root/tv/1systems/mu
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2021-12-10 23:29:17 +0100
committertv <tv@krebsco.de>2021-12-10 23:29:17 +0100
commit0209b3499fe5582b42e21db2cebd9940c7ebc76e (patch)
tree7f57e28d0057c86f5b3decd4e313f9ee72edc434 /tv/1systems/mu
parent210c032fca659799376e08abb924536ee2e414ed (diff)
tv mu: use krebs.setuid
Diffstat (limited to 'tv/1systems/mu')
-rw-r--r--tv/1systems/mu/config.nix7
1 files changed, 5 insertions, 2 deletions
diff --git a/tv/1systems/mu/config.nix b/tv/1systems/mu/config.nix
index 8fd6ee45b..7c3f8cfdb 100644
--- a/tv/1systems/mu/config.nix
+++ b/tv/1systems/mu/config.nix
@@ -83,8 +83,11 @@ with import <stockholm/lib>;
programs.ssh.startAgent = false;
- security.wrappers = {
- slock.source = "${pkgs.slock}/bin/slock";
+ krebs.setuid = {
+ slock = {
+ filename = "${pkgs.slock}/bin/slock";
+ mode = "4111";
+ };
};
security.pam.loginLimits = [