refactor: centralise home-manager configs in system configs

This commit is contained in:
Mohammad Rafiq 2025-03-27 04:02:14 +08:00
parent bb6da9ccb0
commit 3d04d338d1
No known key found for this signature in database
54 changed files with 667 additions and 628 deletions

View file

@ -0,0 +1,25 @@
{ inputs, pkgs, ... }:
{
home-manager.users.rafiq = {
home.packages = [ pkgs.hyprshade ];
xdg.configFile."hypr/hyprshade.toml" = {
enable = true;
text = # toml
''
[[shades]]
name = "vibrance"
default = true # will be activated when no other shader is scheduled
[[shades]]
name = "blue-light-filter"
start_time = 22:00:00
end_time = 08:00:00 # optional if more than one shader has start_time
'';
};
xdg.configFile."hypr/shaders" = {
enable = true;
recursive = true;
source = "${inputs.hyprshaders}/shaders";
};
};
}