Skip to content

Commit

Permalink
fix(samba): extraConfig => settings
Browse files Browse the repository at this point in the history
  • Loading branch information
mrjones2014 committed Sep 16, 2024
1 parent f71d2d6 commit f28afa1
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions hosts/server/nas.nix
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,12 @@
samba = {
enable = true;
openFirewall = true;
extraConfig = ''
guest account = nobody
map to guest = Bad User
load printers = no
printcap name = /dev/null
log file = /var/log/samba/client.%I
log level = 2
'';
settings = {
"guest account" = "nobody";
"map to guest" = "Bad User";
"load printers" = "no";
"printcap name" = "/dev/null";
};
shares = {
fileshare = {
path = "/export/fileshare";
Expand Down

0 comments on commit f28afa1

Please sign in to comment.