fix: warnings
This commit is contained in:
parent
220c5614ca
commit
bfb1842988
4 changed files with 8 additions and 9 deletions
|
|
@ -17,7 +17,7 @@ in
|
|||
};
|
||||
};
|
||||
config = mkIf cfg.enable {
|
||||
environment.systemPackages = [ inputs.agenix.defaultPackage.${pkgs.system} ];
|
||||
environment.systemPackages = [ inputs.agenix.packages.${pkgs.system}.default ];
|
||||
# Set passwords
|
||||
users.users.root.passwordFile = config.age.secrets.rootPasswd.path;
|
||||
age.identityPaths =
|
||||
|
|
|
|||
|
|
@ -11,9 +11,8 @@ in
|
|||
config = mkIf cfg.enable {
|
||||
security.sudo.execWheelOnly = true;
|
||||
services.openssh = {
|
||||
passwordAuthentication = false;
|
||||
allowSFTP = true; # just use rsync, lol
|
||||
kbdInteractiveAuthentication = false;
|
||||
settings.PasswordAuthentication = false;
|
||||
settings.KbdInteractiveAuthentication = false;
|
||||
extraConfig = ''
|
||||
AllowTcpForwarding yes
|
||||
X11Forwarding no
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue