add ronja to lp2

This commit is contained in:
Vinzenz Schroeter 2024-02-09 18:52:20 +01:00
parent 368596c1e4
commit e7da5bf627
3 changed files with 15 additions and 4 deletions

View file

@ -13,7 +13,7 @@ in {
name = "ronja";
description = "Ronja Spiegelberg";
home = "/home/ronja";
extraGroups = ["networkmanager" "wheel" "games"];
extraGroups = ["networkmanager" "wheel" "games" "podman"];
shell = pkgs.zsh;
};
};

View file

@ -12,7 +12,7 @@ in {
name = "vinzenz";
description = "Vinzenz Schroeter";
home = "/home/vinzenz";
extraGroups = ["networkmanager" "wheel" "games" "dialout"];
extraGroups = ["networkmanager" "wheel" "games" "dialout" "podman"];
shell = pkgs.zsh;
};
};

View file

@ -1,4 +1,4 @@
{...}: {
{pkgs, ...}: {
imports = [
(import ./modules {
hostName = "vinzenz-lpt2";
@ -8,7 +8,7 @@
config = {
my = {
enabledUsers = ["vinzenz"];
enabledUsers = ["vinzenz" "ronja"];
tailscale.enable = true;
desktop = {
enableGnome = true;
@ -20,9 +20,20 @@
};
};
environment.systemPackages = with pkgs; [anydesk];
virtualisation.podman = {
enable = true;
};
users.users.vinzenz.openssh.authorizedKeys.keys = [
''ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIFCJUpbpB3KEKVoKWsKoar9J4RNah8gmQoSH6jQEw5dY vinzenz-pixel-JuiceSSH''
''ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIO1CRn4yYTL4XUdCebE8Z4ZeuMujBjorTdWifg911EOv vinzenz-pc2 home roaming''
''ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIALWKm+d6KL6Vl3grPOcGouiNTkvdhXuWJmcrdEBY2nw ronja-ssh-host-key''
];
users.users.ronja.openssh.authorizedKeys.keys = [
''ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIALWKm+d6KL6Vl3grPOcGouiNTkvdhXuWJmcrdEBY2nw ssh-host-key''
];
};
}