mirror of
https://github.com/oqyude/nixos.git
synced 2026-06-15 22:41:52 +03:00
123
This commit is contained in:
+34
-34
@@ -79,40 +79,40 @@ let
|
|||||||
SystemMaxUse=128M
|
SystemMaxUse=128M
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
# samba = {
|
samba = {
|
||||||
# enable = true;
|
enable = true;
|
||||||
# settings = {
|
settings = {
|
||||||
# global = {
|
global = {
|
||||||
# "invalid users" = [ ];
|
"invalid users" = [ ];
|
||||||
# "passwd program" = "/run/wrappers/bin/passwd %u";
|
"passwd program" = "/run/wrappers/bin/passwd %u";
|
||||||
# security = "user";
|
security = "user";
|
||||||
# };
|
};
|
||||||
# nixos = {
|
nixos = {
|
||||||
# "path" = "/etc/nixos";
|
"path" = "/etc/nixos";
|
||||||
# "browseable" = "yes";
|
"browseable" = "yes";
|
||||||
# "read only" = "no";
|
"read only" = "no";
|
||||||
# "valid users" = "${inputs.zeroq.devices.admin}";
|
"valid users" = "${inputs.zeroq.devices.admin}";
|
||||||
# "guest ok" = "no";
|
"guest ok" = "no";
|
||||||
# "writable" = "yes";
|
"writable" = "yes";
|
||||||
# "create mask" = 644;
|
"create mask" = 644;
|
||||||
# "directory mask" = 644;
|
"directory mask" = 644;
|
||||||
# "force user" = "${inputs.zeroq.devices.admin}";
|
"force user" = "${inputs.zeroq.devices.admin}";
|
||||||
# "force group" = "users";
|
"force group" = "users";
|
||||||
# };
|
};
|
||||||
# root = {
|
root = {
|
||||||
# "path" = "/";
|
"path" = "/";
|
||||||
# "browseable" = "yes";
|
"browseable" = "yes";
|
||||||
# "read only" = "no";
|
"read only" = "no";
|
||||||
# "valid users" = "${inputs.zeroq.devices.admin}";
|
"valid users" = "${inputs.zeroq.devices.admin}";
|
||||||
# "guest ok" = "no";
|
"guest ok" = "no";
|
||||||
# "writable" = "yes";
|
"writable" = "yes";
|
||||||
# #"create mask" = 0644;
|
#"create mask" = 0644;
|
||||||
# #"directory mask" = 0644;
|
#"directory mask" = 0644;
|
||||||
# "force user" = "root";
|
"force user" = "root";
|
||||||
# "force group" = "root";
|
"force group" = "root";
|
||||||
# };
|
};
|
||||||
# };
|
};
|
||||||
# };
|
};
|
||||||
openssh = {
|
openssh = {
|
||||||
enable = true;
|
enable = true;
|
||||||
allowSFTP = true;
|
allowSFTP = true;
|
||||||
|
|||||||
@@ -26,6 +26,8 @@
|
|||||||
# ssh
|
# ssh
|
||||||
s-1 = "ssh sapphira-1";
|
s-1 = "ssh sapphira-1";
|
||||||
s-1t = "ssh sapphira-1t";
|
s-1t = "ssh sapphira-1t";
|
||||||
|
o-1 = "ssh otreca-1";
|
||||||
|
o-1t = "ssh otreca-1t";
|
||||||
|
|
||||||
# Somethings
|
# Somethings
|
||||||
reboot-bios = "sudo systemctl reboot --firmware-setup";
|
reboot-bios = "sudo systemctl reboot --firmware-setup";
|
||||||
|
|||||||
Reference in New Issue
Block a user