From 57317446daadadb88812866e178be665894ab9d9 Mon Sep 17 00:00:00 2001 From: uttarayan21 Date: Wed, 29 Oct 2025 18:55:40 +0530 Subject: [PATCH] feat(hyprpaper): update wallpaper configurations and preload logic fix(nixos): enable nftables in ryu configuration --- home/services/hyprpaper.nix | 11 +++++------ nixos/ryu/configuration.nix | 13 +++++++++++-- 2 files changed, 16 insertions(+), 8 deletions(-) diff --git a/home/services/hyprpaper.nix b/home/services/hyprpaper.nix index 2b5e6a42..eb887573 100644 --- a/home/services/hyprpaper.nix +++ b/home/services/hyprpaper.nix @@ -11,19 +11,18 @@ wallpapers = import ../../utils/wallhaven.nix {inherit pkgs;}; nextcloudWallpapers = name: config.home.homeDirectory + "/Nextcloud/Wallpapers/" + name; silksongFleas = nextcloudWallpapers "silksong-fleas.jpg"; - in { + silksongShadeLord = nextcloudWallpapers "silksong-shadelord.jpg"; + in rec { enable = device.is "ryu"; systemd.enable = true; systemd.target = "hyprland-session.target"; settings.preload = wallpapers.all - ++ [ - silksongFleas - ]; + ++ pkgs.lib.mapAttrsToList (_: value: value) settings.wallpapers; settings.wallpapers = { - # "${device.monitors.primary}" = silksongFleas; + "${device.monitors.primary}" = silksongShadeLord; "${device.monitors.secondary}" = wallpapers.frieren_3; - "${device.monitors.tertiary}" = wallpapers.hornet; + "${device.monitors.tertiary}" = silksongFleas; }; }; } diff --git a/nixos/ryu/configuration.nix b/nixos/ryu/configuration.nix index 37190e52..75e12867 100644 --- a/nixos/ryu/configuration.nix +++ b/nixos/ryu/configuration.nix @@ -188,20 +188,29 @@ # firewall.allowedTCPPorts = [ ... ]; # firewall.allowedUDPPorts = [ ... ]; # firewall.enable = false; + nftables.enable = true; firewall = { enable = true; allowedTCPPortRanges = [ { from = 1714; to = 1764; - } # KDE Connect + } ]; allowedUDPPortRanges = [ { from = 1714; to = 1764; - } # KDE Connect + } ]; + # extraInputRules = '' + # table inet mullvad_tailscale { + # chain output { + # type route hook output priority 0; policy accept; + # ip daddr 100.64.0.0/10 ct mark set 0x00000f41 meta mark set 0x6d6f6c65; + # } + # } + # ''; }; };