Merge branch 'master' of github.com:IvanMalison/dotfiles

This commit is contained in:
2019-02-12 21:44:06 -08:00
10 changed files with 92 additions and 127 deletions

View File

@@ -183,8 +183,10 @@ in
ispell
jq
mercurial
networkmanager-openvpn
ncdu
neofetch
openvpn
pass
patchelf
plasma-workspace
@@ -199,6 +201,7 @@ in
stow
tmux
unzip
usbutils
valgrind
wget
wmctrl

View File

@@ -61,6 +61,32 @@
networking.hostName = "imalison-home";
boot.loader.efi.canTouchEfiVariables = true;
services.samba = {
enable = true;
syncPasswordsByPam = true;
extraConfig = ''
workgroup = WORKGROUP
server string = smbnix
netbios name = smbnix
#use sendfile = yes
#max protocol = smb2
hosts allow = 192.168.0 localhost
hosts deny = 0.0.0.0/0
'';
shares = {
private = {
path = "/backups";
browseable = "yes";
"read only" = "no";
"guest ok" = "no";
"create mask" = "0644";
"directory mask" = "0755";
"force user" = "username";
"force group" = "groupname";
};
};
};
services.xserver = {
screenSection = ''
DefaultDepth 24