Skip to content

Commit

Permalink
feat: khanelimac ssh config
Browse files Browse the repository at this point in the history
  • Loading branch information
khaneliman committed Oct 11, 2023
1 parent f0ef13d commit 367f89e
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
8 changes: 8 additions & 0 deletions modules/darwin/user/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,14 @@ in
users.users.${cfg.name} = {
uid = mkIf (cfg.uid != null) cfg.uid;
shell = pkgs.zsh;

openssh = {
authorizedKeys.keys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIEpfTVxQKmkAYOrsnroZoTk0LewcBIC4OjlsoJY6QbB0"
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINBG8l3jQ2EPLU+BlgtaQZpr4xr97n2buTLAZTxKHSsD"
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIM7UBwfd7+K0mdkAIb2TE6RzMu6L4wZnG/anuoYqJMPB"
];
};
};

khanelinix.home = {
Expand Down
3 changes: 2 additions & 1 deletion systems/aarch64-darwin/khanelimac/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ lib, ... }:
{ lib, config, ... }:
let
inherit (lib.internal) enabled;
in
Expand Down Expand Up @@ -45,6 +45,7 @@ in
"Thunderbolt Bridge"
];
};

security.pam.enableSudoTouchIdAuth = true;

system.stateVersion = 4;
Expand Down

0 comments on commit 367f89e

Please sign in to comment.