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"; name = "ronja";
description = "Ronja Spiegelberg"; description = "Ronja Spiegelberg";
home = "/home/ronja"; home = "/home/ronja";
extraGroups = ["networkmanager" "wheel" "games"]; extraGroups = ["networkmanager" "wheel" "games" "podman"];
shell = pkgs.zsh; shell = pkgs.zsh;
}; };
}; };

View file

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

View file

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