hs have root access to ks
Some checks failed
/ build-all (push) Failing after 30s

This commit is contained in:
ant 2025-09-03 18:53:31 +02:00
parent fa46ce6a08
commit 46694aebd6

View file

@ -3,11 +3,7 @@
let let
domain = "antoinevaure.fr"; domain = "antoinevaure.fr";
domainAlex = "pulsewidth.ovh"; domainAlex = "pulsewidth.ovh";
sshKeys = with (import ../../sshKeys.nix); [ sshKeys = (import ../../sshKeys.nix);
basado
hs
moon
];
in { in {
imports = [ imports = [
./hardware-configuration.nix ./hardware-configuration.nix
@ -27,6 +23,8 @@ in {
settings.PasswordAuthentication = false; settings.PasswordAuthentication = false;
}; };
users.users.root.openssh.authorizedKeys = [ sshKeys.hs ];
users.users.ant = { users.users.ant = {
isNormalUser = true; isNormalUser = true;
description = "ant"; description = "ant";
@ -35,7 +33,11 @@ in {
"wheel" "wheel"
"jellyfin" "jellyfin"
]; ];
openssh.authorizedKeys.keys = sshKeys; openssh.authorizedKeys.keys = with sshKeys; [
basado
hs
moon
];
}; };
security.sudo.wheelNeedsPassword = false; security.sudo.wheelNeedsPassword = false;