From db244e2927082e01b94549a82701628b831bdef6 Mon Sep 17 00:00:00 2001 From: "Chris (wolcen) Thompson" Date: Wed, 1 Oct 2025 08:43:55 -0400 Subject: [PATCH 1/3] Add connection sharing capability --- hosts/default/configuration.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/hosts/default/configuration.nix b/hosts/default/configuration.nix index b04684d..1877c8c 100644 --- a/hosts/default/configuration.nix +++ b/hosts/default/configuration.nix @@ -209,7 +209,8 @@ in networking.firewall = { enable = true; allowedTCPPorts = [ 9003 ]; - allowedUDPPorts = [ 51820 ]; + # 53/67 temporarily allowed for connection sharing/dhcp + allowedUDPPorts = [ 53 67 51820 ]; # if packets are still dropped, they will show up in dmesg logReversePathDrops = true; checkReversePath = "loose"; @@ -235,6 +236,7 @@ in # List packages installed in system profile. To search, run: # $ nix search wget environment.systemPackages = with pkgs; [ + dnsmasq # temporarily allowed for connection sharing ansible # automation/software-defined-configuration tool binutils # gnu bin utils # conda # python environment management From 5c9a9b79c651376a8c44dd414adf19eb0081b5fa Mon Sep 17 00:00:00 2001 From: "Chris (wolcen) Thompson" Date: Thu, 2 Oct 2025 10:10:47 -0400 Subject: [PATCH 2/3] Update flake.lock --- flake.lock | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/flake.lock b/flake.lock index dea3b17..cf47d56 100644 --- a/flake.lock +++ b/flake.lock @@ -7,11 +7,11 @@ ] }, "locked": { - "lastModified": 1758985165, - "narHash": "sha256-bzthrGCHUDzUHH9F3eNl5LG5rfg4ig9x3TGjjUE23qA=", + "lastModified": 1759337100, + "narHash": "sha256-CcT3QvZ74NGfM+lSOILcCEeU+SnqXRvl1XCRHenZ0Us=", "owner": "nix-community", "repo": "home-manager", - "rev": "11cc3d55ded3346a8195000ddeadde782a611e56", + "rev": "004753ae6b04c4b18aa07192c1106800aaacf6c3", "type": "github" }, "original": { @@ -22,11 +22,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1758690382, - "narHash": "sha256-NY3kSorgqE5LMm1LqNwGne3ZLMF2/ILgLpFr1fS4X3o=", + "lastModified": 1759036355, + "narHash": "sha256-0m27AKv6ka+q270dw48KflE0LwQYrO7Fm4/2//KCVWg=", "owner": "nixos", "repo": "nixpkgs", - "rev": "e643668fd71b949c53f8626614b21ff71a07379d", + "rev": "e9f00bd893984bc8ce46c895c3bf7cac95331127", "type": "github" }, "original": { From 3161bd9b79be22bfb18a899da57276c550c01143 Mon Sep 17 00:00:00 2001 From: "Chris (wolcen) Thompson" Date: Thu, 2 Oct 2025 10:32:57 -0400 Subject: [PATCH 3/3] Remove KDE, add Hyprland ...attempt 1 --- hosts/default/configuration.nix | 24 +++++++++++++++++++++--- 1 file changed, 21 insertions(+), 3 deletions(-) diff --git a/hosts/default/configuration.nix b/hosts/default/configuration.nix index 1877c8c..e162e53 100644 --- a/hosts/default/configuration.nix +++ b/hosts/default/configuration.nix @@ -135,10 +135,21 @@ in # services.xserver.enable = true; # Enable the KDE Plasma Desktop Environment. - services.displayManager.sddm.enable = true; - services.displayManager.sddm.wayland.enable = true; - services.desktopManager.plasma6.enable = true; + #services.displayManager.sddm.enable = true; + #services.displayManager.sddm.wayland.enable = true; + #services.desktopManager.plasma6.enable = true; + programs.hyprland = { + enable = true; + xwayland.enable = true; + withUWSM = true; + }; + # Optional, hint electron apps to use wayland: + environment.sessionVariables.NIXOS_OZONE_WL = "1"; + xdg.portal = { + enable = true; + extraPortals = with pkgs; [ xdg-desktop-portal-hyprland ]; + }; # Configure keymap in X11 (presumably, XWayland uses something different?) #services.xserver.xkb = { # layout = "us"; @@ -236,6 +247,13 @@ in # List packages installed in system profile. To search, run: # $ nix search wget environment.systemPackages = with pkgs; [ + hyprlock # Hyprland's GPU-accelerated screen locking utility. + hypridle # Hyprland's idle daemon. + hyprpaper # Hyprland's wallpaper utility. + hyprsunset # Application to enable a blue-light filter on Hyprland. + hyprpicker # Wayland color picker that does not suck. + hyprpolkitagent # Polkit authentication agent written in QT/QML. + kitty # default terminal for hyprland dnsmasq # temporarily allowed for connection sharing ansible # automation/software-defined-configuration tool binutils # gnu bin utils