Oops
This commit is contained in:
parent
63e7c14a8e
commit
a737f7e3d7
|
@ -3,13 +3,16 @@ let
|
||||||
swaylock-package = config.nathan.config.desktop.swaylock.package;
|
swaylock-package = config.nathan.config.desktop.swaylock.package;
|
||||||
swaylock-command = config.nathan.config.desktop.swaylock.command;
|
swaylock-command = config.nathan.config.desktop.swaylock.command;
|
||||||
targets = config.nathan.config.desktop.targets;
|
targets = config.nathan.config.desktop.targets;
|
||||||
|
hyprland = config.nathan.programs.hyprland.enable;
|
||||||
in lib.mkMerge [
|
in lib.mkMerge [
|
||||||
(lib.mkIf config.nathan.programs.hyprland.enable {
|
# Hyprland specific
|
||||||
|
(lib.mkIf hyprland {
|
||||||
wayland.windowManager.hyprland.extraConfig = ''
|
wayland.windowManager.hyprland.extraConfig = ''
|
||||||
bind = SUPER, Z, exec, ${swaylock-package}/bin/swaylock ${swaylock-command}
|
bind = SUPER, Z, exec, ${swaylock-package}/bin/swaylock ${swaylock-command}
|
||||||
'';
|
'';
|
||||||
})
|
})
|
||||||
({
|
# General
|
||||||
|
(lib.mkIf hyprland {
|
||||||
home.packages = with pkgs; [ swaylock-package swayidle ];
|
home.packages = with pkgs; [ swaylock-package swayidle ];
|
||||||
|
|
||||||
services.swayidle = {
|
services.swayidle = {
|
||||||
|
|
|
@ -2,7 +2,8 @@
|
||||||
let
|
let
|
||||||
fuzzel-command = config.nathan.config.desktop.fuzzel-command;
|
fuzzel-command = config.nathan.config.desktop.fuzzel-command;
|
||||||
targets = config.nathan.config.desktop.targets;
|
targets = config.nathan.config.desktop.targets;
|
||||||
in {
|
hyprland = config.nathan.programs.hyprland.enable;
|
||||||
|
in lib.mkIf hyprland {
|
||||||
#########################
|
#########################
|
||||||
## Waybar
|
## Waybar
|
||||||
#########################
|
#########################
|
||||||
|
|
Loading…
Reference in New Issue