summary refs log tree commit diff
path: root/host/Rory-desktop/optional
diff options
context:
space:
mode:
authorRory& <root@rory.gay>2025-06-26 06:56:31 +0200
committerRory& <root@rory.gay>2025-06-26 06:56:31 +0200
commite053ec86d6644b16bb6ff707ac633dae766f8b8a (patch)
tree383c744c1981265add61e5c66f991642258b412a /host/Rory-desktop/optional
parentAdd libmatrix fed test domain (diff)
downloadRory-Open-Architecture-e053ec86d6644b16bb6ff707ac633dae766f8b8a.tar.xz
Update desktop config, split up files
Diffstat (limited to 'host/Rory-desktop/optional')
-rw-r--r--host/Rory-desktop/optional/gui/hyprland.nix26
-rw-r--r--host/Rory-desktop/optional/gui/i3.nix (renamed from host/Rory-desktop/optional/gui/x11.nix)0
-rw-r--r--host/Rory-desktop/optional/gui/sway.nix (renamed from host/Rory-desktop/optional/gui/wayland.nix)16
3 files changed, 26 insertions, 16 deletions
diff --git a/host/Rory-desktop/optional/gui/hyprland.nix b/host/Rory-desktop/optional/gui/hyprland.nix
new file mode 100644

index 0000000..5fcbfb4 --- /dev/null +++ b/host/Rory-desktop/optional/gui/hyprland.nix
@@ -0,0 +1,26 @@ +{ + pkgs, + hyprland, + hy3, + ... +}: + +{ + programs.hyprland = { + enable = true; + package = hyprland.packages.${pkgs.stdenv.hostPlatform.system}.hyprland; + }; + + programs.hyprlock.enable = true; + environment.systemPackages = with pkgs;[ + wmenu + ]; + + environment.etc."hyprPlugins" = { + text = '' + plugin = ${hy3.packages.${pkgs.stdenv.hostPlatform.system}.hy3}/lib/libhy3.so + ''; + }; + + xdg.portal.wlr.enable = true; +} diff --git a/host/Rory-desktop/optional/gui/x11.nix b/host/Rory-desktop/optional/gui/i3.nix
index 9070298..9070298 100644 --- a/host/Rory-desktop/optional/gui/x11.nix +++ b/host/Rory-desktop/optional/gui/i3.nix
diff --git a/host/Rory-desktop/optional/gui/wayland.nix b/host/Rory-desktop/optional/gui/sway.nix
index a8f7db7..f19635f 100644 --- a/host/Rory-desktop/optional/gui/wayland.nix +++ b/host/Rory-desktop/optional/gui/sway.nix
@@ -35,21 +35,5 @@ ]; }; - programs.hyprland = { - enable = true; - package = hyprland.packages.${pkgs.stdenv.hostPlatform.system}.hyprland; - }; - - programs.hyprlock.enable = true; - environment.systemPackages = with pkgs;[ - wmenu - ]; - - environment.etc."hyprPlugins" = { - text = '' - plugin = ${hy3.packages.${pkgs.stdenv.hostPlatform.system}.hy3}/lib/libhy3.so - ''; - }; - xdg.portal.wlr.enable = true; }