aboutsummaryrefslogtreecommitdiffstats
path: root/hosts/arrakis
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--hosts/arrakis/services.nix65
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";
- };
- };
- };
};
}