feat(hyprpaper): update wallpaper configurations and preload logic

fix(nixos): enable nftables in ryu configuration
This commit is contained in:
uttarayan21
2025-10-29 18:55:40 +05:30
parent 209cbf4cbb
commit 57317446da
2 changed files with 16 additions and 8 deletions

View File

@@ -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;
};
};
}

View File

@@ -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;
# }
# }
# '';
};
};