init options, move ralph, fix wallpapers

This commit is contained in:
jackjohn7 2026-03-28 20:32:24 -05:00
parent 401109204b
commit 85dd534f53
15 changed files with 123 additions and 181 deletions

View file

@ -14,13 +14,8 @@
self.nixosModules.wallpapers
];
options.hyprland-users = lib.mkOption {
type = lib.types.listOf lib.types.str;
default = [ ];
description = "List of users to configure hyprland for";
};
config = {
wallpaper-destinations = [ "Pictures/wallpapers" ];
# System-level configuration
programs.hyprland.enable = true;
@ -58,18 +53,13 @@
};
# Configure hjem for specified users
hjem = lib.mkIf (config.hyprland-users != [ ]) {
users = lib.genAttrs config.hyprland-users (username: {
enable = true;
files = {
".config/hypr/hyprland.conf".source = ./hyprland.conf;
".config/hypr/hyprpaper.conf".source = ./hyprpaper.conf;
};
});
hjem.users."${config.username}" = {
enable = true;
files = {
".config/hypr/hyprland.conf".source = ./hyprland.conf;
".config/hypr/hyprpaper.conf".source = ./hyprpaper.conf;
};
};
# Enable cursors for hyprland users
cursor-users = lib.mkDefault config.hyprland-users;
};
};
}

View file

@ -17,7 +17,7 @@ env = HYPRCURSOR_THEME,Bibata-Modern-Ice
# Set programs that you use
$terminal = kitty
$browser = firefox
$browser = librewolf
$fileManager = dolphin
$menu = wofi --show drun
@ -292,8 +292,8 @@ bindl = , XF86AudioPrev, exec, playerctl previous
# Example windowrule
windowrule {
name = firefox-on-w2
match:class = ^(firefox)$
name = librewolf-on-w2
match:class = ^(librewolf)$
workspace = 2
}
windowrule {

View file

@ -1,6 +1,6 @@
wallpaper {
monitor = eDP-1
path = /home/jingo/dev/dotfiles/wallpapers/Augustine/Augustine-catppuccin-mocha.png
path = ~/Pictures/wallpapers/Augustine/Augustine-catppuccin-mocha.png
fit_mode = cover
}