This commit is contained in:
parent
fa46ce6a08
commit
46694aebd6
1 changed files with 8 additions and 6 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue