summaryrefslogtreecommitdiff
path: root/bragi.nix
diff options
context:
space:
mode:
Diffstat (limited to 'bragi.nix')
-rw-r--r--bragi.nix10
1 files changed, 9 insertions, 1 deletions
diff --git a/bragi.nix b/bragi.nix
index 0d4c482f..3f52075f 100644
--- a/bragi.nix
+++ b/bragi.nix
@@ -65,9 +65,17 @@
65 shell = "${pkgs.zsh}/bin/zsh"; 65 shell = "${pkgs.zsh}/bin/zsh";
66 openssh.authorizedKeys.keys = [ "ecdsa-sha2-nistp521 AAAAE2VjZHNhLXNoYTItbmlzdHA1MjEAAAAIbmlzdHA1MjEAAACFBABVMu+0txXdxdTSY8POAYVXbuOEDW6VxJzaYwQljc9kzM63VUZuE606R0g2ZGr9A+Gk6qO6fpCiq4SM+1Yygz5yHgGlbO750TOGaTe6KSGw+u3miaeDviejmxTqetGmiJe7BTLRAbYHjRgD5SkK/Ovos0cDSyOfZ5aha/ehox+proQKGA== gkleen@cathy" 66 openssh.authorizedKeys.keys = [ "ecdsa-sha2-nistp521 AAAAE2VjZHNhLXNoYTItbmlzdHA1MjEAAAAIbmlzdHA1MjEAAACFBABVMu+0txXdxdTSY8POAYVXbuOEDW6VxJzaYwQljc9kzM63VUZuE606R0g2ZGr9A+Gk6qO6fpCiq4SM+1Yygz5yHgGlbO750TOGaTe6KSGw+u3miaeDviejmxTqetGmiJe7BTLRAbYHjRgD5SkK/Ovos0cDSyOfZ5aha/ehox+proQKGA== gkleen@cathy"
67 ]; 67 ];
68 extraGroups = [ "wheel" ]; 68 extraGroups = [ "wheel" "audio" ];
69 hashedPassword = "$6$MBq4kwM68$Eg8O6m76mM2905VppNZO67J3EHqJVBuIWQkz.MFFa7afVQKhGuSSYHl50WkkFYXHEY5MIM7IjWYZ0UJwq2IDJ0"; 69 hashedPassword = "$6$MBq4kwM68$Eg8O6m76mM2905VppNZO67J3EHqJVBuIWQkz.MFFa7afVQKhGuSSYHl50WkkFYXHEY5MIM7IjWYZ0UJwq2IDJ0";
70 }; 70 };
71 71
72 security.setuidPrograms = ["mount.nfs"]; 72 security.setuidPrograms = ["mount.nfs"];
73
74 security.pam.loginLimits =
75 [
76 { domain = "@audio"; item = "memlock"; type = "-"; value = "unlimited"; }
77 { domain = "@audio"; item = "rtprio"; type = "-"; value = "99"; }
78 { domain = "@audio"; item = "nofile"; type = "soft"; value = "99999"; }
79 { domain = "@audio"; item = "nofile"; type = "hard"; value = "99999"; }
80 ];
73} 81}