summaryrefslogtreecommitdiff
path: root/odin.nix
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2018-04-10 15:02:01 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2018-04-10 15:02:01 +0200
commit16283db5916a862b39ee93811b93d42d05b2bf4a (patch)
tree98c1480515238a8a0703ddbb500d937f6c00a6a3 /odin.nix
parent93a331353d9e8bb1afa88f758574cf0abf6955f8 (diff)
downloadnixos-16283db5916a862b39ee93811b93d42d05b2bf4a.tar
nixos-16283db5916a862b39ee93811b93d42d05b2bf4a.tar.gz
nixos-16283db5916a862b39ee93811b93d42d05b2bf4a.tar.bz2
nixos-16283db5916a862b39ee93811b93d42d05b2bf4a.tar.xz
nixos-16283db5916a862b39ee93811b93d42d05b2bf4a.zip
samba on odin
Diffstat (limited to 'odin.nix')
-rw-r--r--odin.nix12
1 files changed, 12 insertions, 0 deletions
diff --git a/odin.nix b/odin.nix
index 321535b1..2cfd5b3d 100644
--- a/odin.nix
+++ b/odin.nix
@@ -174,6 +174,18 @@
174 }; 174 };
175 }; 175 };
176 176
177 services.samba = {
178 enable = true;
179 shares = {
180 homes = {
181 comment = "Home Directories";
182 browesable = true;
183 "valid users" = "%S";
184 writable = true;
185 };
186 };
187 };
188
177 system.autoUpgrade.enable = true; 189 system.autoUpgrade.enable = true;
178 system.stateVersion = "18.09"; 190 system.stateVersion = "18.09";
179 191