summaryrefslogtreecommitdiff
path: root/home-modules/desktop/hyprland.nix
diff options
context:
space:
mode:
authorJakub Stachurski <j.stachurski@student.utwente.nl>2026-01-28 12:29:40 +0100
committerJakub Stachurski <j.stachurski@student.utwente.nl>2026-01-28 12:29:40 +0100
commit790f82e530c7c34b8685ee6a52ddbecf70639c6f (patch)
tree51899ea8ecfc90ed145d9bada0c7cb4c452ce3af /home-modules/desktop/hyprland.nix
parenta36426ffd6314bd367f042410d81ae9807df2eee (diff)
Format and format
Diffstat (limited to 'home-modules/desktop/hyprland.nix')
-rw-r--r--home-modules/desktop/hyprland.nix25
1 files changed, 14 insertions, 11 deletions
diff --git a/home-modules/desktop/hyprland.nix b/home-modules/desktop/hyprland.nix
index 442910e..3a5864a 100644
--- a/home-modules/desktop/hyprland.nix
+++ b/home-modules/desktop/hyprland.nix
@@ -22,7 +22,7 @@ with lib;
homeprogs.waybar.enable = true;
homeprogs.mako.enable = true;
- homeprogs.mako.systemdWantedBy = [ "hyprland-session.target" ];
+ homeprogs.mako.systemdWantedBy = [ "hyprland-session.target" ];
# Environment variables for hyprland.
# This can be used to configure wayland/hyprland-specific things
home.file.".config/uwsm/env-hyprland".text = ''
@@ -254,7 +254,7 @@ with lib;
};
systemd.user.services.hyprpaper = {
- Install.WantedBy = [ "hyprland-session.target"];
+ Install.WantedBy = lib.mkForce [ "hyprland-session.target" ];
};
services.hyprpaper = {
enable = true;
@@ -305,33 +305,36 @@ with lib;
};
services.hyprsunset = {
enable = true;
- systemdTarget = "hyprland-session.target";
+ systemdTarget = "hyprland-session.target";
settings = {
max-gamma = 140;
profile = [
- { # Morning
+ {
+ # Morning
time = "07:00";
- identity = true;
+ identity = true;
# temperature = 6500;
gamme = 1;
}
- { # Evening
+ {
+ # Evening
time = "19:00";
- temperature = 4000;
+ temperature = 4000;
gamma = 0.6;
}
- { # Night
+ {
+ # Night
time = "22:00";
- temperature = 3000;
+ temperature = 3000;
gamma = 0.4;
}
];
};
};
- services.hypridle = {
+ services.hypridle = {
enable = true;
- systemdTarget = "hyprland-session.target";
+ systemdTarget = "hyprland-session.target";
settings = {
general = {
lock_cmd = "pidof hyprlock || hyprlock";