woomer feature
This commit is contained in:
@@ -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";
|
||||
|
||||
26
modules/features/woomer/default.nix
Normal file
26
modules/features/woomer/default.nix
Normal 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";
|
||||
};
|
||||
});
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user