summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bragi.nix23
1 files changed, 10 insertions, 13 deletions
diff --git a/bragi.nix b/bragi.nix
index 063aff06..64d8ed2c 100644
--- a/bragi.nix
+++ b/bragi.nix
@@ -8,6 +8,7 @@ in {
8 ./bragi-hw.nix 8 ./bragi-hw.nix
9 ./customized/autofs.nix 9 ./customized/autofs.nix
10 ./custom/zsh.nix 10 ./custom/zsh.nix
11 ./users.nix
11 ]; 12 ];
12 13
13 boot.loader.grub.enable = true; 14 boot.loader.grub.enable = true;
@@ -136,19 +137,6 @@ in {
136 group = "audio"; 137 group = "audio";
137 }; 138 };
138 139
139 users.extraUsers.gkleen = {
140 name = "gkleen";
141 isNormalUser = true;
142 uid = 1000;
143 createHome = true;
144 home = "/home/gkleen";
145 shell = "${pkgs.zsh}/bin/zsh";
146 openssh.authorizedKeys.keys = [ "ecdsa-sha2-nistp521 AAAAE2VjZHNhLXNoYTItbmlzdHA1MjEAAAAIbmlzdHA1MjEAAACFBABVMu+0txXdxdTSY8POAYVXbuOEDW6VxJzaYwQljc9kzM63VUZuE606R0g2ZGr9A+Gk6qO6fpCiq4SM+1Yygz5yHgGlbO750TOGaTe6KSGw+u3miaeDviejmxTqetGmiJe7BTLRAbYHjRgD5SkK/Ovos0cDSyOfZ5aha/ehox+proQKGA== gkleen@cathy"
147 ];
148 extraGroups = [ "wheel" "audio" ];
149 hashedPassword = "$6$MBq4kwM68$Eg8O6m76mM2905VppNZO67J3EHqJVBuIWQkz.MFFa7afVQKhGuSSYHl50WkkFYXHEY5MIM7IjWYZ0UJwq2IDJ0";
150 };
151
152 security.setuidPrograms = ["mount.nfs"]; 140 security.setuidPrograms = ["mount.nfs"];
153 141
154 security.pam.loginLimits = 142 security.pam.loginLimits =
@@ -218,6 +206,15 @@ in {
218 subnet 10.141.4.0 netmask 255.255.255.0 { 206 subnet 10.141.4.0 netmask 255.255.255.0 {
219 range 10.141.4.100 10.141.4.254; 207 range 10.141.4.100 10.141.4.254;
220 } 208 }
209
210 group {
211 use-host-decl-names on;
212
213 host vali {
214 hardware ethernet e0:cb:4e:f7:10:3d;
215 fixed-address vali.bragisheimr.yggdrasil;
216 }
217 }
221 ''; 218 '';
222 }; 219 };
223 220