refactor(aichat): disable mayichat and rename config to aichat
Some checks failed
Flake checker / Build Nix targets (push) Has been cancelled

refactor(hyprland): separate hyprpaper config into its own module

feat(services): add hyprpaper service with updated wallpaper settings
This commit is contained in:
uttarayan21
2025-10-18 12:51:53 +05:30
parent f3da867a0b
commit 7eead37864
6 changed files with 39 additions and 26 deletions

View File

@@ -1,15 +1,10 @@
{
pkgs,
device,
lib,
...
}:
# lib.optionalAttrs device.isNix
{
imports = [
../../modules/hyprpaper.nix
];
# services.hyprpolkitagent.enable = true;
services.hypridle = {
enable = device.is "ryu";
@@ -29,20 +24,6 @@
services.hyprsunset = {
enable = device.is "ryu";
};
programs.hyprpaper = let
wallpapers = import ../../utils/wallhaven.nix {inherit pkgs;};
in {
enable = device.is "ryu";
# enable = true;
systemd.enable = true;
systemd.target = "hyprland-session.target";
settings.preload = wallpapers.all;
settings.wallpapers = {
"${device.monitors.primary}" = wallpapers.hornet;
"${device.monitors.secondary}" = wallpapers.frieren_3;
"${device.monitors.tertiary}" = wallpapers.shapes;
};
};
programs.hyprlock = {
enable = device.is "ryu";
};