Compare commits
2 commits
f57fa79543
...
de6026cb84
Author | SHA1 | Date | |
---|---|---|---|
de6026cb84 | |||
1700367658 |
3 changed files with 24 additions and 2 deletions
|
@ -11,6 +11,7 @@
|
|||
./pgadmin.nix
|
||||
./postgresql.nix
|
||||
./radicale.nix
|
||||
./samba.nix
|
||||
./searxng.nix
|
||||
./vaultwarden.nix
|
||||
./wireguard.nix
|
||||
|
|
|
@ -6,8 +6,9 @@ in {
|
|||
services = {
|
||||
pgadmin = {
|
||||
enable = true;
|
||||
initialEmail = "avery@rcia.dev";
|
||||
initialPasswordFile = "/etc/nixos/a.txt";
|
||||
initialEmail = "avery@localhost";
|
||||
initialPasswordFile = "/dev/null";
|
||||
minimumPasswordLength = 0;
|
||||
port = _portDefinitions.pgadmin;
|
||||
};
|
||||
nginx.virtualHosts."pgadmin.rcia.dev" = {
|
||||
|
|
20
hosts/greatyamada/services/samba.nix
Normal file
20
hosts/greatyamada/services/samba.nix
Normal file
|
@ -0,0 +1,20 @@
|
|||
{ ... }: {
|
||||
services.samba = {
|
||||
enable = true;
|
||||
openFirewall = true;
|
||||
settings = {
|
||||
global = {
|
||||
"invalid users" = [ "root" ];
|
||||
"passwd program" = "/run/wrappers/bin/passwd %u";
|
||||
security = "user";
|
||||
};
|
||||
"PS2" = {
|
||||
path = "/mnt/hdd-01/PS2";
|
||||
browseable = "yes";
|
||||
"read only" = "yes";
|
||||
"guest ok" = "yes";
|
||||
comment = "PS2 game share";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue