add swww and wallpapers

This commit is contained in:
TheWanderingCrow 2025-07-10 23:23:47 -04:00
parent 39a1d66646
commit fcc48edd04
5 changed files with 14 additions and 0 deletions

View file

@ -50,6 +50,7 @@
- `darwin` - Custom packages specific to dariwn-based hosts
- `nixos` - Custom packages specific to nixos-based hosts
- `devshells` - Custom development shells and environments
- `assets` - Storage for things like wallpapers
# Credits

View file

@ -7,6 +7,7 @@
imports = [
inputs.niri-flake.homeModules.niri
./sway/waybar.nix
./swww
];
nixpkgs.overlays = [
inputs.niri-flake.overlays.niri

View file

@ -6,6 +6,7 @@
}: {
imports = [
./waybar.nix
../swww
];
home.packages = with pkgs; [

View file

@ -0,0 +1,6 @@
{pkgs, ...}: {
services.swww = {
enable = true;
package = pkgs.swww;
};
}

View file

@ -61,6 +61,11 @@
description = "Variable Refresh Rate aka Adaptive Sync aka AMD FreeSync.\nValues are oriented towards hyprland's vrr values which are:\n0 = off, 1 = on, 2 = fullscreen only\nhttps://wiki.hyprland.org/Configuring/Variables/#misc";
default = 0;
};
background = lib.mkOption {
type = lib.types.path;
description = "Path to background in assets to get handled with swww";
default = null;
};
};
}
);