access to arachnide server through the wireguard vpn

This commit is contained in:
Douze Bé 2024-12-26 11:20:26 +01:00
parent ee6fec46e7
commit 9f9d513b23
2 changed files with 12 additions and 1 deletions

View file

@ -25,7 +25,7 @@ let
arachnide = pkgs.krops.writeDeploy "deploy-server-arachnide" { arachnide = pkgs.krops.writeDeploy "deploy-server-arachnide" {
source = source "arachnide"; source = source "arachnide";
target = lib.mkTarget "douzeb@192.168.36.9" // { target = lib.mkTarget "operator@192.168.12.2" // {
port = "144"; port = "144";
sudo = true; sudo = true;
}; };

View file

@ -2,6 +2,17 @@
{ config, pkgs, ... }: { config, pkgs, ... }:
{ {
# Define user accounts. Don't forget to set a password with 'passwd'. # Define user accounts. Don't forget to set a password with 'passwd'.
users.users.operator = {
isNormalUser = true;
description = "douze baie";
extraGroups = [ "wheel" ];
packages = with pkgs; [];
openssh.authorizedKeys.keys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILRG0CyeeMMrrjTTm/PHgRXD/I4lH/bBPBCGUiL+cBdq douzeb@tux-12"
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBBM+2TwkopAQF7splTWjORQoxjcp67VhodwzvTMlL8g florian@florian-LinuxMint-MBP"
];
};
users.users.douzeb = { users.users.douzeb = {
isNormalUser = true; isNormalUser = true;
description = "douze baie"; description = "douze baie";