hardening
This commit is contained in:
parent
e8faabc2bd
commit
78d5989212
2 changed files with 17 additions and 2 deletions
|
@ -21,12 +21,26 @@
|
||||||
];
|
];
|
||||||
programs.mtr.enable = true;
|
programs.mtr.enable = true;
|
||||||
programs.zsh.enable = true;
|
programs.zsh.enable = true;
|
||||||
security.sudo-rs = {
|
security.sudo = {
|
||||||
enable = true;
|
enable = true;
|
||||||
wheelNeedsPassword = false;
|
wheelNeedsPassword = false;
|
||||||
|
execWheelOnly = true;
|
||||||
};
|
};
|
||||||
networking.firewall.enable = false;
|
networking.firewall.enable = false;
|
||||||
services.openssh.enable = true;
|
services.openssh = {
|
||||||
|
enable = true;
|
||||||
|
settings = {
|
||||||
|
PasswordAuthentication = false;
|
||||||
|
KbdInteractiveAuthentication = false;
|
||||||
|
};
|
||||||
|
extraConfig = ''
|
||||||
|
AllowTcpForwarding yes
|
||||||
|
AllowAgentForwarding yes
|
||||||
|
AllowStreamLocalForwarding yes
|
||||||
|
AuthenticationMethods publickey
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
|
||||||
virtualisation.containers.enable = true;
|
virtualisation.containers.enable = true;
|
||||||
virtualisation = {
|
virtualisation = {
|
||||||
podman = {
|
podman = {
|
||||||
|
|
|
@ -6,5 +6,6 @@ Latest news
|
||||||
* Stella: Flakes now enabled
|
* Stella: Flakes now enabled
|
||||||
* Stella: Web hosting now available, contact an admin to enable
|
* Stella: Web hosting now available, contact an admin to enable
|
||||||
* Stella: ipv6 enabled
|
* Stella: ipv6 enabled
|
||||||
|
* Now supports fetching your ssh key from a url, contact an admin to configure
|
||||||
'';
|
'';
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue