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
|
./pgadmin.nix
|
||||||
./postgresql.nix
|
./postgresql.nix
|
||||||
./radicale.nix
|
./radicale.nix
|
||||||
|
./samba.nix
|
||||||
./searxng.nix
|
./searxng.nix
|
||||||
./vaultwarden.nix
|
./vaultwarden.nix
|
||||||
./wireguard.nix
|
./wireguard.nix
|
||||||
|
|
|
||||||
|
|
@ -6,8 +6,9 @@ in {
|
||||||
services = {
|
services = {
|
||||||
pgadmin = {
|
pgadmin = {
|
||||||
enable = true;
|
enable = true;
|
||||||
initialEmail = "avery@rcia.dev";
|
initialEmail = "avery@localhost";
|
||||||
initialPasswordFile = "/etc/nixos/a.txt";
|
initialPasswordFile = "/dev/null";
|
||||||
|
minimumPasswordLength = 0;
|
||||||
port = _portDefinitions.pgadmin;
|
port = _portDefinitions.pgadmin;
|
||||||
};
|
};
|
||||||
nginx.virtualHosts."pgadmin.rcia.dev" = {
|
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