Commit 2b75504 1 parent c0c9ed2 commit 2b75504 Copy full SHA for 2b75504
File tree 1 file changed +5
-3
lines changed
home/linux/gui/hyprland/values
1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 4
4
hyprland ,
5
5
nur-ryan4yin ,
6
6
...
7
- } : {
7
+ } : let
8
+ package = hyprland . packages . ${ pkgs . system } . hyprland ;
9
+ in {
8
10
# NOTE:
9
11
# We have to enable hyprland/i3's systemd user service in home-manager,
10
12
# so that gammastep/wallpaper-switcher's user service can be start correctly!
11
13
# they are all depending on hyprland/i3's user graphical-session
12
14
wayland . windowManager . hyprland = {
15
+ inherit package ;
13
16
enable = true ;
14
17
settings = {
15
18
source = "${ nur-ryan4yin . packages . ${ pkgs . system } . catppuccin-hyprland } /themes/mocha.conf" ;
25
28
"GDK_BACKEND,wayland"
26
29
] ;
27
30
} ;
28
- package = hyprland . packages . ${ pkgs . system } . hyprland ;
29
31
extraConfig = builtins . readFile ../conf/hyprland.conf ;
30
32
# gammastep/wallpaper-switcher need this to be enabled.
31
33
systemd . enable = true ;
34
36
# NOTE: this executable is used by greetd to start a wayland session when system boot up
35
37
# with such a vendor-no-locking script, we can switch to another wayland compositor without modifying greetd's config in NixOS module
36
38
home . file . ".wayland-session" = {
37
- source = "${ pkgs . hyprland } /bin/Hyprland" ;
39
+ source = "${ package } /bin/Hyprland" ;
38
40
executable = true ;
39
41
} ;
40
42
You can’t perform that action at this time.
0 commit comments