diff --git a/modules/linux/home-manager/hyprland.nix b/modules/linux/home-manager/hyprland.nix index 8724578..8ca85d2 100644 --- a/modules/linux/home-manager/hyprland.nix +++ b/modules/linux/home-manager/hyprland.nix @@ -40,8 +40,8 @@ #!/usr/bin/env sh case "$(printf "shutdown\\nreboot" | tofi --prompt "Choose your poison")" in - "shutdown") poweroff ;; - "reboot") reboot ;; + "shutdown") systemctl poweroff ;; + "reboot") systemctl reboot ;; esac ''; grim = "${pkgs.grim}/bin/grim"; @@ -123,6 +123,13 @@ in { "hyprctl monitors | grep 'HDMI' && hyprctl keyword monitor 'eDP-1, disable'" ]; + # Setup plugins + plugin = { + wslayout = { + default_layout = "master"; + }; + }; + cursor = { no_break_fs_vrr = 1; no_hardware_cursors = 1; @@ -169,7 +176,6 @@ in { gaps_in = 3; gaps_out = 6; allow_tearing = true; - layout = "master"; }; misc = { @@ -191,11 +197,6 @@ in { allow_workspace_cycles = true; }; - workspace = [ - "1, layout:monocle" - "5, layout:monocle" - ]; - bind = [ "$mod, Return, exec, $terminal" "$mod SHIFT, Q, killactive" diff --git a/modules/linux/nixos/general-services.nix b/modules/linux/nixos/general-services.nix index 33ec0be..528df32 100644 --- a/modules/linux/nixos/general-services.nix +++ b/modules/linux/nixos/general-services.nix @@ -27,10 +27,7 @@ # Enable dconf programs.dconf.enable = true; - # Enable gnome keyring - services.gnome.gnome-keyring.enable = true; - # Setup dbus broker - services.dbus.implementation = "broker"; + # services.dbus.implementation = "broker"; }; }