woomer feature

This commit is contained in:
2026-07-07 17:25:58 +01:00
parent 651bd62c00
commit 40862064c9
2 changed files with 30 additions and 0 deletions

View File

@@ -29,6 +29,10 @@
url = "git+https://git.voidarc.co.uk/voidarc/omnisearch"; url = "git+https://git.voidarc.co.uk/voidarc/omnisearch";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
}; };
woomer = {
url = "github:coffeeispower/woomer";
inputs.nixpkgs.follows = "nixpkgs";
};
# Flake parts # Flake parts
flake-parts.url = "github:hercules-ci/flake-parts"; flake-parts.url = "github:hercules-ci/flake-parts";

View File

@@ -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";
};
});
};
}