summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2015-06-07 14:20:46 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2015-06-07 14:20:46 +0200
commit972295c4f57f2e0fe8c5eb36e1398e20cb67cd73 (patch)
tree291e3813266067751f07cba252a1a303ace87a50
parenta03f785bd9236b4d689fbb5967b31dace09fb5eb (diff)
downloadnixos-972295c4f57f2e0fe8c5eb36e1398e20cb67cd73.tar
nixos-972295c4f57f2e0fe8c5eb36e1398e20cb67cd73.tar.gz
nixos-972295c4f57f2e0fe8c5eb36e1398e20cb67cd73.tar.bz2
nixos-972295c4f57f2e0fe8c5eb36e1398e20cb67cd73.tar.xz
nixos-972295c4f57f2e0fe8c5eb36e1398e20cb67cd73.zip
Tweaks for jack
-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}