organized, fixed wireguard config

This commit is contained in:
Parker TenBroeck 2026-05-23 11:13:59 -04:00
parent 1be91dfd0c
commit 079b1eb5d6
12 changed files with 139 additions and 70 deletions

View file

@ -1,39 +0,0 @@
{ lib, ... }:
{
imports = [
./common.nix
./modules/networking.nix
./modules/bluetooth.nix
./modules/amd.nix
./modules/games/steam.nix
./modules/games/minecraft.nix
./modules/fonts.nix
./modules/packages.nix
./modules/wireguard-server.nix
./modules/hyprland
./modules/tex.nix
];
nixpkgs.config.allowUnfree = true;
networking.hostName = "nixos-desktop";
networking.firewall.allowedTCPPorts = [ 51820 25565 42069 8000 8080 ];
home-manager.users.may.wayland.windowManager.hyprland.settings = {
workspace = [
"1, monitor:DP-2, default:true"
"9, monitor:DP-1, default:true"
"10, monitor:HDMI-A-1, default:true"
];
exec-once = lib.mkAfter [
# Give Hyprland a moment to finish bringing up the desktop before
# placing startup apps onto monitor-pinned workspaces.
"sh -c 'sleep 2; hyprctl dispatch exec \"[workspace 9 silent] firefox\"; hyprctl dispatch exec \"[workspace 1 silent] alacritty\"'"
];
};
system.stateVersion = "23.11";
home-manager.users.may.home.stateVersion = "25.11";
}