From 637e665581b9460fee37978ed615f8dca251d175 Mon Sep 17 00:00:00 2001 From: voidarc Date: Wed, 22 Jul 2026 13:35:09 +0100 Subject: [PATCH] weylus feature --- flake.lock | 120 ++++++++++++++++++++++++---- flake.nix | 4 + modules/features/weylus/default.nix | 3 +- 3 files changed, 111 insertions(+), 16 deletions(-) diff --git a/flake.lock b/flake.lock index 1312174..493b0cd 100644 --- a/flake.lock +++ b/flake.lock @@ -194,7 +194,25 @@ }, "flake-utils_2": { "inputs": { - "systems": "systems_8" + "systems": "systems_7" + }, + "locked": { + "lastModified": 1731533236, + "narHash": "sha256-l0KFg5HjrsfsO/JpG+r7fRrqm12kzFHyUHqHCVpMMbI=", + "owner": "numtide", + "repo": "flake-utils", + "rev": "11707dc2f618dd54ca8739b309ec4fc024de578b", + "type": "github" + }, + "original": { + "owner": "numtide", + "repo": "flake-utils", + "type": "github" + } + }, + "flake-utils_3": { + "inputs": { + "systems": "systems_9" }, "locked": { "lastModified": 1731533236, @@ -373,11 +391,11 @@ "wshowkeys": "wshowkeys" }, "locked": { - "lastModified": 1783943095, - "narHash": "sha256-yolDQ38XW+EpTKMLli8BOcHKnIbR53iM03K9T6wkc9I=", + "lastModified": 1784471205, + "narHash": "sha256-u/m4ToCCm0kI1npq+wj+aIEJtuvv2LaER2DywD9TD6U=", "ref": "refs/heads/main", - "rev": "84edd88834b645751babc02f44408ccb703e421f", - "revCount": 48, + "rev": "782cd6884b28f91f2af4274b99adcdb9c146fa79", + "revCount": 49, "type": "git", "url": "https://git.voidarc.co.uk/voidarc/hypr" }, @@ -389,11 +407,11 @@ "hyprland-config": { "flake": false, "locked": { - "lastModified": 1783943095, - "narHash": "sha256-yolDQ38XW+EpTKMLli8BOcHKnIbR53iM03K9T6wkc9I=", + "lastModified": 1784471205, + "narHash": "sha256-u/m4ToCCm0kI1npq+wj+aIEJtuvv2LaER2DywD9TD6U=", "ref": "refs/heads/main", - "rev": "84edd88834b645751babc02f44408ccb703e421f", - "revCount": 48, + "rev": "782cd6884b28f91f2af4274b99adcdb9c146fa79", + "revCount": 49, "type": "git", "url": "https://git.voidarc.co.uk/voidarc/hypr" }, @@ -781,6 +799,22 @@ "type": "github" } }, + "nixpkgs_10": { + "locked": { + "lastModified": 1780336545, + "narHash": "sha256-vhVhuXzFrIOfcssC/9hDHx7MHzDKjF3keHuREOQqQiQ=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "4df1b885d76a54e1aa1a318f8d16fd6005b6401f", + "type": "github" + }, + "original": { + "owner": "NixOS", + "ref": "nixpkgs-unstable", + "repo": "nixpkgs", + "type": "github" + } + }, "nixpkgs_2": { "locked": { "lastModified": 1782467914, @@ -895,11 +929,11 @@ }, "nixpkgs_9": { "locked": { - "lastModified": 1780336545, - "narHash": "sha256-vhVhuXzFrIOfcssC/9hDHx7MHzDKjF3keHuREOQqQiQ=", + "lastModified": 1744536153, + "narHash": "sha256-awS2zRgF4uTwrOKwwiJcByDzDOdo3Q1rPZbiHQg/N38=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "4df1b885d76a54e1aa1a318f8d16fd6005b6401f", + "rev": "18dd725c29603f582cf1900e0d25f9f1063dbf11", "type": "github" }, "original": { @@ -1050,11 +1084,30 @@ "otter-launcher": "otter-launcher_2", "quickshell": "quickshell", "sls-steam": "sls-steam", + "weylus": "weylus", "woomer": "woomer_2", "wrappers": "wrappers_3", "wshowkeys": "wshowkeys_2" } }, + "rust-overlay": { + "inputs": { + "nixpkgs": "nixpkgs_9" + }, + "locked": { + "lastModified": 1784438913, + "narHash": "sha256-NYF7ZM5ip0u+w1pBFDpIGEbrbgN/wpnLFAmBkWkYMXw=", + "owner": "oxalica", + "repo": "rust-overlay", + "rev": "afacd6819d3765a05814ee8e3de74c77d42ac799", + "type": "github" + }, + "original": { + "owner": "oxalica", + "repo": "rust-overlay", + "type": "github" + } + }, "sls-steam": { "inputs": { "nixpkgs": "nixpkgs_8" @@ -1193,6 +1246,21 @@ "type": "github" } }, + "systems_9": { + "locked": { + "lastModified": 1681028828, + "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", + "owner": "nix-systems", + "repo": "default", + "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e", + "type": "github" + }, + "original": { + "owner": "nix-systems", + "repo": "default", + "type": "github" + } + }, "utils": { "inputs": { "systems": "systems" @@ -1211,6 +1279,28 @@ "type": "github" } }, + "weylus": { + "inputs": { + "flake-utils": "flake-utils_2", + "nixpkgs": [ + "nixpkgs" + ], + "rust-overlay": "rust-overlay" + }, + "locked": { + "lastModified": 1784471251, + "narHash": "sha256-07//RRO1xhgR4lKyq460+iOEDHUw21rJRi59fMUhLfM=", + "owner": "voidarclabs", + "repo": "WeylusCommunityEdition", + "rev": "bcf34c2a2c9d3cbac00ca0d3e6ede5b3bbc6a18c", + "type": "github" + }, + "original": { + "owner": "voidarclabs", + "repo": "WeylusCommunityEdition", + "type": "github" + } + }, "woomer": { "inputs": { "crane": "crane", @@ -1237,7 +1327,7 @@ "nixpkgs": [ "nixpkgs" ], - "systems": "systems_7" + "systems": "systems_8" }, "locked": { "lastModified": 1782685056, @@ -1291,7 +1381,7 @@ }, "wrappers_3": { "inputs": { - "nixpkgs": "nixpkgs_9" + "nixpkgs": "nixpkgs_10" }, "locked": { "lastModified": 1782135443, @@ -1331,7 +1421,7 @@ }, "wshowkeys_2": { "inputs": { - "flake-utils": "flake-utils_2", + "flake-utils": "flake-utils_3", "nixpkgs": [ "nixpkgs" ] diff --git a/flake.nix b/flake.nix index c7ea5d7..8316d1c 100644 --- a/flake.nix +++ b/flake.nix @@ -41,6 +41,10 @@ url = "github:voidarclabs/wshowkeys"; inputs.nixpkgs.follows = "nixpkgs"; }; + weylus = { + url = "github:voidarclabs/WeylusCommunityEdition"; + inputs.nixpkgs.follows = "nixpkgs"; + }; # Flake parts flake-parts.url = "github:hercules-ci/flake-parts"; diff --git a/modules/features/weylus/default.nix b/modules/features/weylus/default.nix index f030515..ccb6552 100644 --- a/modules/features/weylus/default.nix +++ b/modules/features/weylus/default.nix @@ -1,7 +1,8 @@ {moduleWithSystem, ...}: { - flake.nixosModules.weylus = moduleWithSystem ({...}: { + flake.nixosModules.weylus = moduleWithSystem ({inputs', ...}: { programs.weylus = { enable = true; + package = inputs'.weylus.packages.default; users = ["user01"]; }; });