From 5e0f88a5acbd5be53e396ea3203e1d66229e6a47 Mon Sep 17 00:00:00 2001 From: Crony Akatsuki Date: Wed, 4 Mar 2026 19:27:30 +0100 Subject: [PATCH 1/3] feat: setup monocle layout for specific layouts --- modules/linux/home-manager/hyprland.nix | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/modules/linux/home-manager/hyprland.nix b/modules/linux/home-manager/hyprland.nix index 8ca85d2..4b8abde 100644 --- a/modules/linux/home-manager/hyprland.nix +++ b/modules/linux/home-manager/hyprland.nix @@ -123,13 +123,6 @@ 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; @@ -176,6 +169,7 @@ in { gaps_in = 3; gaps_out = 6; allow_tearing = true; + layout = "master"; }; misc = { @@ -197,6 +191,11 @@ in { allow_workspace_cycles = true; }; + workspace = [ + "1, layout:monocle" + "5, layout:monocle" + ]; + bind = [ "$mod, Return, exec, $terminal" "$mod SHIFT, Q, killactive" From db83fab871df11d761f6a496c25047c34d49fd88 Mon Sep 17 00:00:00 2001 From: Crony Akatsuki Date: Thu, 5 Mar 2026 17:02:03 +0100 Subject: [PATCH 2/3] feat: fix script. --- modules/linux/home-manager/hyprland.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/linux/home-manager/hyprland.nix b/modules/linux/home-manager/hyprland.nix index 4b8abde..8724578 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") systemctl poweroff ;; - "reboot") systemctl reboot ;; + "shutdown") poweroff ;; + "reboot") reboot ;; esac ''; grim = "${pkgs.grim}/bin/grim"; From 78508e12fd1aeb3c1e87387c6e22d8bda5e8fec9 Mon Sep 17 00:00:00 2001 From: Crony Akatsuki Date: Thu, 5 Mar 2026 17:02:17 +0100 Subject: [PATCH 3/3] feat: use dbus broker and setup gnome keyring --- modules/linux/nixos/general-services.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/modules/linux/nixos/general-services.nix b/modules/linux/nixos/general-services.nix index 528df32..33ec0be 100644 --- a/modules/linux/nixos/general-services.nix +++ b/modules/linux/nixos/general-services.nix @@ -27,7 +27,10 @@ # 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"; }; }