This commit is contained in:
HotaruBlaze
2026-05-31 09:46:05 +00:00
parent 6bce73c167
commit 73f436b560

View File

@@ -14,6 +14,9 @@
targetUser = "phoenix"; targetUser = "phoenix";
buildOnTarget = true; buildOnTarget = true;
keys.phoenix.keyFile = "/home/nixos/.ssh/id_ed25519.pub"; keys.phoenix.keyFile = "/home/nixos/.ssh/id_ed25519.pub";
tags = [
"homelab"
];
}; };
imports = [ imports = [
@@ -51,10 +54,25 @@
]; ];
}; };
systemd.user.services.dbus = { users.users.deploy = {
restartIfChanged = false; isNormalUser = true;
extraGroups = [
"wheel"
"networkmanager"
];
home = "/home/deploy";
# packages = with pkgs; [
# vim
# tree
# lego
# ];
openssh.authorizedKeys.keys = [
"sk-ecdsa-sha2-nistp256@openssh.com AAAAInNrLWVjZHNhLXNoYTItbmlzdHAyNTZAb3BlbnNzaC5jb20AAAAIbmlzdHAyNTYAAABBBMPNyAyMrqlI3tUI39TqcgYBciIC+aY2UNAunFqylhhzTVA14rluMjFqHf9HKs9SHZ52nLEV58/BxlnMeMtRc+cAAAAEc3NoOg== phoenix@DESKTOP-1A9MAJO"
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIMoM3FANeYtWLJIiTL+nU0XzZft2psiSgbCmNfQZBXgy nixos@nixos"
];
}; };
# systemd.user.enable = false;
security.sudo.extraRules = [ security.sudo.extraRules = [
{ {
users = [ "phoenix" ]; users = [ "phoenix" ];