fix: warnings

This commit is contained in:
Philipp Hochkamp 2023-02-06 21:52:10 +01:00
parent 220c5614ca
commit bfb1842988
4 changed files with 8 additions and 9 deletions

View file

@ -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 =

View file

@ -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