floorp: add module
Also fix tests for Firefox module derivatives.
This commit is contained in:
parent
65ae9c1473
commit
2b13611eae
13 changed files with 334 additions and 29 deletions
29
modules/programs/floorp.nix
Normal file
29
modules/programs/floorp.nix
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
{ lib, ... }:
|
||||
|
||||
with lib;
|
||||
|
||||
let
|
||||
|
||||
modulePath = [ "programs" "floorp" ];
|
||||
|
||||
mkFirefoxModule = import ./firefox/mkFirefoxModule.nix;
|
||||
|
||||
in {
|
||||
meta.maintainers = [ hm.maintainers.bricked ];
|
||||
|
||||
imports = [
|
||||
(mkFirefoxModule {
|
||||
inherit modulePath;
|
||||
name = "Floorp";
|
||||
wrappedPackageName = "floorp";
|
||||
unwrappedPackageName = "floorp-unwrapped";
|
||||
visible = true;
|
||||
|
||||
platforms.linux = {
|
||||
configPath = ".floorp";
|
||||
vendorPath = ".floorp";
|
||||
};
|
||||
platforms.darwin = { configPath = "Library/Application Support/Floorp"; };
|
||||
})
|
||||
];
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue