diff options
author | Leonardo Santiago <[email protected]> | 2024-06-03 10:41:45 -0300 |
---|---|---|
committer | Leonardo Santiago <[email protected]> | 2024-06-03 10:41:45 -0300 |
commit | 2af6761a8cacab8f421f1ce4043cc5f998f30192 (patch) | |
tree | 1f5c0cfb830dd35050f76f3107db2cadaf9b5b51 /users | |
parent | 36e878561fb7abc823d2ea8e85e6ef74b65d6d48 (diff) |
more stuff
Diffstat (limited to 'users')
-rw-r--r-- | users/leonardo.nix | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/users/leonardo.nix b/users/leonardo.nix index 02f2dff..4795223 100644 --- a/users/leonardo.nix +++ b/users/leonardo.nix @@ -18,8 +18,9 @@ }; }; - environment.systemPackages = [ - pkgs.prismlauncher + environment.systemPackages = with pkgs;[ + prismlauncher + rage ]; nixpkgs = { @@ -92,7 +93,13 @@ "context.properties"."module.x11.bell" = false; }; }; - services.openssh.enable = true; + services.openssh = { + enable = true; + settings = { + KbdInteractiveAuthentication = false; + PasswordAuthentication = false; + }; + }; users.mutableUsers = false; users.users.leonardo = { isNormalUser = true; @@ -100,6 +107,7 @@ extraGroups = [ "networkmanager" "wheel" ]; shell = pkgs.bashInteractive; hashedPasswordFile = config.age.secrets.user-pass.path; + openssh.authorizedKeys.keys = builtins.attrValues (import ../secrets/hosts-pub-keys.nix); }; age.secrets = { |