From c048ce696a82cc2f55bc2c5228fd5450a6fe8b93 Mon Sep 17 00:00:00 2001 From: Daniel Patterson Date: Thu, 18 Dec 2025 23:59:49 +0000 Subject: [PATCH] some shit --- flake.lock | 36 ++++++++++++------------ hosts/pingbox/configuration.nix | 9 +++++- users/configs/desktop/niri/config.kdl | 4 +-- users/configs/system/ghostty/default.nix | 5 +++- 4 files changed, 32 insertions(+), 22 deletions(-) diff --git a/flake.lock b/flake.lock index 5c3e94d..fbabd36 100644 --- a/flake.lock +++ b/flake.lock @@ -64,11 +64,11 @@ ] }, "locked": { - "lastModified": 1765930735, - "narHash": "sha256-D+b77dVSjCqTfvZsOw3tXAYo5E+I3T9FeahyfqYKWoI=", + "lastModified": 1766181259, + "narHash": "sha256-bviGVfLGn39/g92x94VFKhBPIMvHwgWorxG59bzoHps=", "owner": "9001", "repo": "copyparty", - "rev": "519bfe1f0b66bf3131105941d0dc704de7c2ec23", + "rev": "1f6e8116743aa14ad8659b0665c7421ed1982fa5", "type": "github" }, "original": { @@ -111,11 +111,11 @@ ] }, "locked": { - "lastModified": 1765985825, - "narHash": "sha256-Ph+dULhPcnefCb+XyTt1a5Vh3A9DFuEHMIlUXSh3KcQ=", + "lastModified": 1766087669, + "narHash": "sha256-1+LJXcOaeX5YCFCCCY+bh6nSQBS5fPVcudQs5/G2+P4=", "owner": "cachix", "repo": "devenv", - "rev": "51b8b1fc0659b0817dba0f5e40272f86809665ce", + "rev": "c03eed645ea94da7afbee29da76436b7ce33a5cb", "type": "github" }, "original": { @@ -299,11 +299,11 @@ "systems": "systems_2" }, "locked": { - "lastModified": 1765218350, - "narHash": "sha256-RPW2sQFaoQdSNPVg6cq94YVbf6SeBCuGnpjMIxtvpbM=", + "lastModified": 1766068170, + "narHash": "sha256-gsG+gYgr9GJX+RAAACK+46nWoJzcAtcrrjPZKd9mbbs=", "owner": "tailscale", "repo": "golink", - "rev": "491554abd506a48221631bea0e014ca5c8f53fcd", + "rev": "e6795d11f3b2d7a90678e1ea471967e8137b36ef", "type": "github" }, "original": { @@ -340,11 +340,11 @@ ] }, "locked": { - "lastModified": 1765980955, - "narHash": "sha256-rB45jv4uwC90vM9UZ70plfvY/2Kdygs+zlQ07dGQFk4=", + "lastModified": 1766171975, + "narHash": "sha256-47Ee0bTidhF/3/sHuYnWRuxcCrrm0mBNDxBkOTd3wWQ=", "owner": "nix-community", "repo": "home-manager", - "rev": "89c9508bbe9b40d36b3dc206c2483ef176f15173", + "rev": "bb35f07cc95a73aacbaf1f7f46bb8a3f40f265b5", "type": "github" }, "original": { @@ -460,11 +460,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1765779637, - "narHash": "sha256-KJ2wa/BLSrTqDjbfyNx70ov/HdgNBCBBSQP3BIzKnv4=", + "lastModified": 1766070988, + "narHash": "sha256-G/WVghka6c4bAzMhTwT2vjLccg/awmHkdKSd2JrycLc=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "1306659b587dc277866c7b69eb97e5f07864d8c4", + "rev": "c6245e83d836d0433170a16eb185cefe0572f8b8", "type": "github" }, "original": { @@ -588,11 +588,11 @@ ] }, "locked": { - "lastModified": 1765946036, - "narHash": "sha256-R/qaIkzqm00qBMr8onM6ZZFX49lvsQLZ79adVubqjts=", + "lastModified": 1766179188, + "narHash": "sha256-Y6yhFDjfwk4JOltCx0zjc552gJHn7eJHQEwyj73KXOQ=", "owner": "0xc000022070", "repo": "zen-browser-flake", - "rev": "7db019a64483743a8d92319baafbbe71b687d0a1", + "rev": "8212a2bbb2586fa79b9807026e15ebb52cf849eb", "type": "github" }, "original": { diff --git a/hosts/pingbox/configuration.nix b/hosts/pingbox/configuration.nix index db99f7c..3717b1d 100644 --- a/hosts/pingbox/configuration.nix +++ b/hosts/pingbox/configuration.nix @@ -47,7 +47,7 @@ interfaces.wlp170s0.useDHCP = true; }; - environment.pathsToLink = [ "/share/xdg-desktop-portal" "/share/applications" ]; + environment.pathsToLink = ["/share/xdg-desktop-portal" "/share/applications"]; services = { fprintd.enable = true; @@ -80,6 +80,13 @@ logind = { lidSwitch = "suspend-then-hibernate"; }; + + avahi = { + enable = true; + nssmdns4 = true; + openFirewall = true; + }; + printing.enable = true; }; systemd.sleep.extraConfig = '' diff --git a/users/configs/desktop/niri/config.kdl b/users/configs/desktop/niri/config.kdl index 7618b8e..cb11f0d 100644 --- a/users/configs/desktop/niri/config.kdl +++ b/users/configs/desktop/niri/config.kdl @@ -29,8 +29,8 @@ input { // dwtp natural-scroll scroll-factor 0.5 - accel-speed 0.05 - accel-profile "adaptive" + accel-speed 0.4 + accel-profile "flat" // scroll-method "two-finger" // disabled-on-external-mouse } diff --git a/users/configs/system/ghostty/default.nix b/users/configs/system/ghostty/default.nix index 9a8edd3..c90ac4f 100644 --- a/users/configs/system/ghostty/default.nix +++ b/users/configs/system/ghostty/default.nix @@ -16,7 +16,10 @@ shell-integration-features = "no-cursor"; window-theme = "ghostty"; - window-decoration = if hostname == "pingbox" then "none" else "auto"; + window-decoration = + if hostname == "pingbox" + then "none" + else "auto"; working-directory = "home"; unfocused-split-opacity = 1;