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

This commit is contained in:
ant 2025-09-03 18:53:31 +02:00
parent 4a5fcf368a
commit 7c5dc11e9f

View file

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