diff --git a/configurations/nixos/defiant/configuration.nix b/configurations/nixos/defiant/configuration.nix index 199c1ba..ca9a291 100644 --- a/configurations/nixos/defiant/configuration.nix +++ b/configurations/nixos/defiant/configuration.nix @@ -127,11 +127,11 @@ }; }; - "15-p2p" = { + "15-p2p0" = { netdevConfig = { Kind = "wireguard"; Name = "p2p0"; - MTUBytes = "1300"; + MTUBytes = "1280"; }; wireguardConfig = { PrivateKeyFile = config.sops.secrets."vpn-keys/proton-wireguard/defiant-p2p".path; @@ -165,21 +165,16 @@ dns = ["192.168.1.1"]; }; - "45-p2p" = { + "45-p2p0" = { matchConfig.Name = "p2p0"; address = [ "10.2.0.2/32" ]; - # routingPolicyRules = [ - # { - # From = "10.2.0.2/32"; - # Table = "p2p"; - # } - # { - # To = "10.2.0.2/32"; - # Table = "p2p"; - # } - # ]; + routes = [ + { + Destination = "0.0.0.0/0"; + } + ]; linkConfig.RequiredForOnline = false; }; }; @@ -203,11 +198,7 @@ }; desktopManager = { gnome.enable = true; - xterm.enable = false; }; - - # Get rid of xTerm - excludePackages = [pkgs.xterm]; }; ollama = { diff --git a/modules/nixos-modules/desktop.nix b/modules/nixos-modules/desktop.nix index 22a7b65..2182cb2 100644 --- a/modules/nixos-modules/desktop.nix +++ b/modules/nixos-modules/desktop.nix @@ -27,7 +27,25 @@ # Get rid of xTerm desktopManager.xterm.enable = false; - excludePackages = [pkgs.xterm]; + excludePackages = with pkgs; [ + xterm + transmission_4-qt + atomix # puzzle game + cheese # webcam tool + epiphany # web browser + geary # email reader + gedit # text editor + gnome-characters + gnome-music + gnome-photos + gnome-tour + gnome-logs + gnome-maps + hitori # sudoku game + iagno # go game + tali # poker game + yelp # help viewer + ]; }; pipewire = {