Compare commits
2 commits
a24d30d684
...
58d69a55f4
| Author | SHA1 | Date | |
|---|---|---|---|
| 58d69a55f4 | |||
| 05c5addf52 |
2 changed files with 47 additions and 0 deletions
|
|
@ -51,6 +51,7 @@
|
||||||
"discord@canary"
|
"discord@canary"
|
||||||
"Sikarugir-App/sikarugir/sikarugir"
|
"Sikarugir-App/sikarugir/sikarugir"
|
||||||
"zen"
|
"zen"
|
||||||
|
"handbrake-app"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
@ -68,7 +68,53 @@ in {
|
||||||
stopIfChanged = false;
|
stopIfChanged = false;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
users.users.polycule = {
|
||||||
|
isNormalUser = true;
|
||||||
|
description = "Polycule";
|
||||||
|
extraGroups = [ ];
|
||||||
|
packages = with pkgs; [];
|
||||||
|
};
|
||||||
|
|
||||||
services = {
|
services = {
|
||||||
|
samba = {
|
||||||
|
enable = true;
|
||||||
|
securityType = "user";
|
||||||
|
openFirewall = true;
|
||||||
|
settings = {
|
||||||
|
global = {
|
||||||
|
"workgroup" = "WORKGROUP";
|
||||||
|
"server string" = "smbnix";
|
||||||
|
"netbios name" = "smbnix";
|
||||||
|
"security" = "user";
|
||||||
|
#"use sendfile" = "yes";
|
||||||
|
#"max protocol" = "smb2";
|
||||||
|
# note: localhost is the ipv6 localhost ::1
|
||||||
|
"hosts allow" = "0.0.0.0/0";
|
||||||
|
"guest account" = "nobody";
|
||||||
|
"map to guest" = "bad user";
|
||||||
|
};
|
||||||
|
# "public" = {
|
||||||
|
# "path" = "/mnt/Shares/Public";
|
||||||
|
# "browseable" = "yes";
|
||||||
|
# "read only" = "no";
|
||||||
|
# "guest ok" = "yes";
|
||||||
|
# "create mask" = "0644";
|
||||||
|
# "directory mask" = "0755";
|
||||||
|
# "force user" = "username";
|
||||||
|
# "force group" = "groupname";
|
||||||
|
# };
|
||||||
|
"private" = {
|
||||||
|
"path" = "/Velaris/Storage/Shares";
|
||||||
|
"browseable" = "yes";
|
||||||
|
"read only" = "no";
|
||||||
|
"guest ok" = "no";
|
||||||
|
"create mask" = "0644";
|
||||||
|
"directory mask" = "0755";
|
||||||
|
"force user" = "polycule";
|
||||||
|
"force group" = "polycule";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
nfs.server = {
|
nfs.server = {
|
||||||
enable = true;
|
enable = true;
|
||||||
createMountPoints = true;
|
createMountPoints = true;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue