add yadunut-mbp configuration

This commit is contained in:
2025-11-03 17:16:01 +08:00
parent 3a56960502
commit 819720e8f2
3 changed files with 52 additions and 12 deletions

View File

@@ -0,0 +1,23 @@
{ ... }@args:
{
imports = [
../../modules/darwin/sane-defaults
];
system.primaryUser = "yadunut";
users.users."yadunut" = {
openssh.authorizedKeys.keys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJXOpmWsAnl2RtOuJJMRUx+iJTwf2RWJ1iS3FqXJFzFG"
];
};
users.users."root" = {
openssh.authorizedKeys.keys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJXOpmWsAnl2RtOuJJMRUx+iJTwf2RWJ1iS3FqXJFzFG"
];
};
security.pam.services.sudo_local.touchIdAuth = true;
nixpkgs.hostPlatform = "aarch64-darwin";
clan.core.networking.targetHost = "root@localhost";
nix.enable = false; # since we're using nix darwin
system.stateVersion = 6;
}