nixos-configuration/hosts/vinzenz-pc2/environment.nix

51 lines
1.4 KiB
Nix
Raw Normal View History

2024-03-09 13:36:43 +01:00
{pkgs, ...}: {
imports = [
2024-10-26 14:59:00 +02:00
../../home
../../home/gnome.nix
../../users/vinzenz.nix
2024-10-26 16:43:08 +02:00
../../users/ronja.nix
2024-10-26 14:59:00 +02:00
../../modules/desktop-environment.nix
../../modules/gnome.nix
../../modules/gaming.nix
../../modules/printing.nix
];
2023-09-02 14:41:58 +02:00
2023-09-09 14:57:55 +02:00
config = {
2024-10-26 14:59:00 +02:00
home-manager.users = {
vinzenz = import ../../home/vinzenz;
2024-10-26 16:43:08 +02:00
ronja = import ../../home/ronja.nix;
2023-09-03 16:44:26 +02:00
};
2023-09-09 14:57:55 +02:00
users.users.vinzenz.openssh.authorizedKeys.keys = [
2023-12-25 12:30:11 +01:00
''ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINrY6tcgnoC/xbgL7vxSjddEY9MBxRXe9n2cAHt88/TT home roaming''
2023-12-05 14:50:19 +01:00
''ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIFCJUpbpB3KEKVoKWsKoar9J4RNah8gmQoSH6jQEw5dY vinzenz-pixel-JuiceSSH''
2024-03-01 17:39:37 +01:00
''ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPDNpLDmctyqGpow/ElQvdhY4BLBPS/sigDJ1QEcC7wC vinzenz-lpt2-roaming''
2023-09-09 14:57:55 +02:00
];
2024-03-09 13:36:43 +01:00
2024-06-21 17:11:13 +02:00
users.users.ronja.openssh.authorizedKeys.keys = [
''ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIALWKm+d6KL6Vl3grPOcGouiNTkvdhXuWJmcrdEBY2nw ssh-host-key''
];
2024-03-09 13:36:43 +01:00
services.openvscode-server = {
enable = true;
telemetryLevel = "off";
port = 8542;
host = "100.125.93.127"; # tailscale
withoutConnectionToken = true;
2024-10-26 14:59:00 +02:00
extraPackages = with pkgs; [nodejs git gh direnv];
2024-03-09 13:36:43 +01:00
};
2024-06-21 17:12:04 +02:00
virtualisation.podman = {
enable = true;
};
networking = {
firewall = {
allowedTCPPorts = [8542 8543 8544 80];
};
interfaces.eno1.wakeOnLan.enable = true;
2024-03-09 13:36:43 +01:00
};
2023-09-09 14:57:55 +02:00
};
2023-08-27 13:28:13 +02:00
}