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

@@ -3,13 +3,14 @@
./swaync.nix
./swayosd.nix
./kdeconnect.nix
./hyprland.nix
./gtk.nix
./anyrun.nix
./ironbar
./gui.nix
./eww.nix
./hyprmon.nix
./xdg.nix
./hyprmon.nix
./hyprland.nix
./hyprpaper.nix
];
}

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

View File

@@ -0,0 +1,30 @@
{
pkgs,
device,
config,
...
}: {
imports = [
../../modules/hyprpaper.nix
];
programs.hyprpaper = let
wallpapers = import ../../utils/wallhaven.nix {inherit pkgs;};
nextcloudWallpapers = name: config.home.homeDirectory + "/Nextcloud/Wallpapers/" + name;
silksongFleas = nextcloudWallpapers "silksong-fleas.jpg";
in {
enable = device.is "ryu";
# enable = true;
systemd.enable = true;
systemd.target = "hyprland-session.target";
settings.preload =
wallpapers.all
++ [
silksongFleas
];
settings.wallpapers = {
"${device.monitors.primary}" = silksongFleas;
"${device.monitors.secondary}" = wallpapers.frieren_3;
"${device.monitors.tertiary}" = wallpapers.hornet;
};
};
}