diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2015-07-03 18:56:43 +0200 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2015-07-03 18:56:43 +0200 |
commit | c7a7e7c2b7ffa182673b077120577ace8e5f8951 (patch) | |
tree | 1d4c69d3da832ff79b75f01c765d02a99c81d647 | |
parent | 20ef0498022e3fd235e32ed1bf6c57a2e2b44df8 (diff) | |
download | nixos-c7a7e7c2b7ffa182673b077120577ace8e5f8951.tar nixos-c7a7e7c2b7ffa182673b077120577ace8e5f8951.tar.gz nixos-c7a7e7c2b7ffa182673b077120577ace8e5f8951.tar.bz2 nixos-c7a7e7c2b7ffa182673b077120577ace8e5f8951.tar.xz nixos-c7a7e7c2b7ffa182673b077120577ace8e5f8951.zip |
vali config on bragi
-rw-r--r-- | bragi.nix | 23 |
1 files changed, 10 insertions, 13 deletions
@@ -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 | ||