{config, lib, pkgs, ...}: { imports = [ ./hardware-configuration.nix ./minecraft.nix ./options.nix ./git.nix ]; boot.loader.systemd-boot.enable = true; boot.loader.efi.canTouchEfiVariables = true; networking.networkmanager.enable = true; services.fail2ban.enable = true; services.openssh = { enable = true; authorizedKeysInHomedir = false; # trust only /etc/ssh/authorized_keys.d/%u settings = { PasswordAuthentication = false; PermitRootLogin = "no"; AllowUsers = [ "kassouni" "git" ]; KbdInteractiveAuthentication = false; PubkeyAuthentication = true; }; }; users.users.kassouni = { extraGroups = [ "wheel" ]; isNormalUser = true; openssh.authorizedKeys.keys = config.my.adminKeys; }; system.stateVersion = "26.05"; }