From 40862064c9b24d75b21336b88e9fefa88e7ac4c7 Mon Sep 17 00:00:00 2001 From: voidarc Date: Tue, 7 Jul 2026 17:25:58 +0100 Subject: [PATCH] woomer feature --- flake.nix | 4 ++++ modules/features/woomer/default.nix | 26 ++++++++++++++++++++++++++ 2 files changed, 30 insertions(+) create mode 100644 modules/features/woomer/default.nix diff --git a/flake.nix b/flake.nix index 60d9e89..3ab9d8f 100644 --- a/flake.nix +++ b/flake.nix @@ -29,6 +29,10 @@ url = "git+https://git.voidarc.co.uk/voidarc/omnisearch"; inputs.nixpkgs.follows = "nixpkgs"; }; + woomer = { + url = "github:coffeeispower/woomer"; + inputs.nixpkgs.follows = "nixpkgs"; + }; # Flake parts flake-parts.url = "github:hercules-ci/flake-parts"; diff --git a/modules/features/woomer/default.nix b/modules/features/woomer/default.nix new file mode 100644 index 0000000..ac5f374 --- /dev/null +++ b/modules/features/woomer/default.nix @@ -0,0 +1,26 @@ +{ + inputs, + moduleWithSystem, + ... +}: { + flake.nixosModules.woomer = moduleWithSystem ({self', ...}: { + environment.systemPackages = with self'.packages; [ + woomer + ]; + }); + perSystem = { + pkgs, + inputs', + ... + }: { + packages.woomer = inputs.wrappers.lib.wrapPackage ({...}: { + inherit pkgs; + package = inputs'.woomer.packages.default; + flags = { + "--monitor" = "DP-1"; + "--output" = "DP-1"; + "--radius" = "2"; + }; + }); + }; +}