diff options
author | Mark Nipper <nipsy@bitgnome.net> | 2024-10-13 04:14:04 -0700 |
---|---|---|
committer | Mark Nipper <nipsy@bitgnome.net> | 2024-10-13 04:14:04 -0700 |
commit | 10c87e76818619906016a8135f950d5349a739f9 (patch) | |
tree | 7088c326a42f4b1354a47d89b5ed091ca5111107 /hosts | |
parent | 742f20b4ccd418ef6a458c2dbc4d09bb1e9fbc84 (diff) | |
download | nix-10c87e76818619906016a8135f950d5349a739f9.tar nix-10c87e76818619906016a8135f950d5349a739f9.tar.gz nix-10c87e76818619906016a8135f950d5349a739f9.tar.bz2 nix-10c87e76818619906016a8135f950d5349a739f9.tar.lz nix-10c87e76818619906016a8135f950d5349a739f9.tar.xz nix-10c87e76818619906016a8135f950d5349a739f9.tar.zst nix-10c87e76818619906016a8135f950d5349a739f9.zip |
Add sabnzbd @arrakis
Diffstat (limited to '')
-rw-r--r-- | hosts/arrakis/services.nix | 65 |
1 files changed, 36 insertions, 29 deletions
diff --git a/hosts/arrakis/services.nix b/hosts/arrakis/services.nix index 3750964..3fa2d3a 100644 --- a/hosts/arrakis/services.nix +++ b/hosts/arrakis/services.nix @@ -70,6 +70,42 @@ }; }; + sabnzbd = { + enable = true; + user = "nipsy"; + group = "nipsy"; + configFile = "/home/nipsy/.sabnzbd/sabnzbd.ini"; + }; + + samba = { + enable = true; + settings = { + global = { + "invalid users" = [ + "root" + ]; + "passwd program" = "/run/wrappers/bin/passwd %u"; + security = "user"; + "smb1 unix extensions" = "no"; + }; + homes = { + browseable = "no"; + "create mask" = "0775"; + "directory mask" = "0775"; + "read only" = "no"; + "valid users" = "%S"; + "wide links" = "yes"; + }; + nipsy-ro = { + browseable = "no"; + path = "/home/nipsy"; + "read only" = "yes"; + "valid users" = "nipsy"; + "wide links" = "yes"; + }; + }; + }; + smartd = let my_email_addr = "nipsy@bitgnome.net"; in { enable = true; devices = [ @@ -115,34 +151,5 @@ } ]; }; - - samba = { - enable = true; - settings = { - global = { - "invalid users" = [ - "root" - ]; - "passwd program" = "/run/wrappers/bin/passwd %u"; - security = "user"; - "smb1 unix extensions" = "no"; - }; - homes = { - browseable = "no"; - "create mask" = "0775"; - "directory mask" = "0775"; - "read only" = "no"; - "valid users" = "%S"; - "wide links" = "yes"; - }; - nipsy-ro = { - browseable = "no"; - path = "/home/nipsy"; - "read only" = "yes"; - "valid users" = "nipsy"; - "wide links" = "yes"; - }; - }; - }; }; } |