nixos-config/hosts/20212060/configuration.nix

36 lines
627 B
Nix
Raw Normal View History

2025-05-13 14:26:22 +02:00
{ flake, ... }:
{
# State version
system.stateVersion = "24.05";
# Machine hostname
networking.hostName = "20212060";
# Admin users
users.users.jan.extraGroups = [ "wheel" ];
2025-05-28 12:23:31 +02:00
# Enable virtualisation for VMs
2025-05-18 15:01:05 +02:00
virtualisation.libvirtd.enable = true;
2025-05-28 12:23:31 +02:00
# Set up wstunnel client
services.wstunnel = {
enable = true;
clients.wg-tunnel = {
2025-05-28 12:36:12 +02:00
connectTo = "wss://tunnel.bulthuis.dev:443";
2025-05-28 12:23:31 +02:00
localToRemote = [
"udp://51820:10.10.40.100:51820"
];
};
};
# Module setup
2025-05-13 14:26:22 +02:00
modules = {
profiles.laptop.enable = true;
};
imports = [
./hardware-configuration.nix
];
}