From 4ac1f8b16a2088116edc23aa7866b98166fc4e1a Mon Sep 17 00:00:00 2001 From: Odweta Date: Sun, 11 Jan 2026 18:30:20 +0100 Subject: [PATCH] split hypr into home & system --- .flake.nix.swp | Bin 12288 -> 12288 bytes flake.nix | 1 + hyprland-system.nix | 13 +++++++++++++ hyprland.nix | 10 ---------- 4 files changed, 14 insertions(+), 10 deletions(-) create mode 100644 hyprland-system.nix diff --git a/.flake.nix.swp b/.flake.nix.swp index 69ea3c7a4742b0b5195b4d8c7633fe39c2933a12..110215086a291a0d05ed18f475d1635b6649338e 100644 GIT binary patch delta 109 zcmZojXh;xEG6?hZRj|}EWB>vIAi9^FS-4U3H$S7|WvI28P-@$(dU=ivH$jRM;#i@R^_2hKGUS3J`-N6($QR u6pOwF@*V;4Z6Lk|#30#2n`bJ>@=Wg5;hEg3BLu|alh5kNY-ZQ}$pipk8XMyP diff --git a/flake.nix b/flake.nix index 43b5d6b..8420527 100644 --- a/flake.nix +++ b/flake.nix @@ -25,6 +25,7 @@ ./configuration.nix # FIXME: MODULARIZE ./env-vars.nix #./hardware-configuration.nix + ./hyprland-system.nix ./theme.nix ]; }; diff --git a/hyprland-system.nix b/hyprland-system.nix new file mode 100644 index 0000000..cb0213a --- /dev/null +++ b/hyprland-system.nix @@ -0,0 +1,13 @@ +{ config, pkgs, ... }: + +{ + # hypr packages + environment.systemPackages = with pkgs; [ + hyprland + hypridle + hyprlock + hyprpaper + hyprpolkitagent + hyprcursor + ]; +} diff --git a/hyprland.nix b/hyprland.nix index ecc6cbe..c42e910 100644 --- a/hyprland.nix +++ b/hyprland.nix @@ -16,16 +16,6 @@ WLR_NO_HARDWARE_CURSORS = "1"; }; - # hypr packages - environment.systemPackages = with pkgs; [ - hyprland - hypridle - hyprlock - hyprpaper - hyprpolkitagent - hyprcursor - ]; - # hyprland config wayland.windowManager.hyprland = { enable = true;