i think we good

This commit is contained in:
krizej 2024-08-10 13:27:11 +02:00
parent cdf4703ca4
commit fd3f8f0b03
2 changed files with 12 additions and 13 deletions

View file

@ -23,14 +23,17 @@
};
# todo: module for dis stuff (maybe)
networking.firewall.allowedTCPPorts = [ 80 443 22 ];
services.samba = {
enable = true;
openFirewall = true;
shares = {
media = {
path = "/media";
writeable = "yes";
public = "yes";
browsable = "yes";
"create mask" = "0777";
"directory mask" = "0777";
};
@ -42,15 +45,10 @@
additionalModules = [ pkgs.nginxModules.fancyindex ];
virtualHosts.media = {
default = true;
addSSL = true;
enableACME = true;
# addSSL = true;
# enableACME = true;
listen = [{
addr = "192.168.1.12";
port = "80";
}];
root = "/share";
root = "/media";
serverName = "_";
@ -67,10 +65,10 @@
};
};
security.acme = {
acceptTerms = true;
defaults.email = "krizej@protonmail.com";
};
# security.acme = {
# acceptTerms = true;
# defaults.email = "krizej@protonmail.com";
# };
chuj = {
system = {

View file

@ -26,6 +26,7 @@ in {
ffmpegthumbnailer
gsettings-desktop-schemas
xarchiver # not really thunar but can be here ig
samba
];
};
}
}