updated flake and decoupled useless runtimePackages

This commit is contained in:
2026-07-11 14:54:14 +01:00
parent 599f44a5a9
commit 1910db8bd2
2 changed files with 5 additions and 7 deletions

8
flake.lock generated
View File

@@ -373,11 +373,11 @@
"wshowkeys": "wshowkeys" "wshowkeys": "wshowkeys"
}, },
"locked": { "locked": {
"lastModified": 1783771459, "lastModified": 1783777857,
"narHash": "sha256-U+RNUy0UjDgAMIiAVZCJRmtcriGAE4tqOkprvs2/nE4=", "narHash": "sha256-5tIpGp3E+hsDvWQWtAEvvQfUv+wdi6OsS1qziLPMJhk=",
"ref": "refs/heads/main", "ref": "refs/heads/main",
"rev": "78ad02d6c19d9cdb589c2b446807449b7bbf48d2", "rev": "e561e6d3be18fc3d5dc35380dc6a87ebc518b471",
"revCount": 46, "revCount": 47,
"type": "git", "type": "git",
"url": "https://git.voidarc.co.uk/voidarc/hypr" "url": "https://git.voidarc.co.uk/voidarc/hypr"
}, },

View File

@@ -7,7 +7,6 @@
flake.nixosModules.hyprland = moduleWithSystem ({ flake.nixosModules.hyprland = moduleWithSystem ({
self', self',
pkgs, pkgs,
system,
... ...
}: let }: let
modules = with self.nixosModules; [ modules = with self.nixosModules; [
@@ -15,14 +14,13 @@
systemTheme systemTheme
]; ];
runtimePkgs = self'.packages.hyprland.passthru.runtimePackages; runtimePkgs = self'.packages.hyprland.passthru.runtimePackages;
lib = pkgs.lib; lib = pkgs.lib;
in { in {
imports = modules; imports = modules;
programs.hyprland = { programs.hyprland = {
enable = true; enable = true;
package = self'.packages.hyprland; package = self'.packages.hyprland;
portalPackage = inputs.hyprland.inputs.hyprland.packages.${system}.xdg-desktop-portal-hyprland;
}; };
services.xserver.enable = true; services.xserver.enable = true;