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