hmApps, refactor, clean up, break groups
This commit is contained in:
parent
49cb3c949c
commit
7cc650aea6
32 changed files with 13 additions and 69 deletions
18
hmModules/apps/librewolf/app.nix
Normal file
18
hmModules/apps/librewolf/app.nix
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
{ config, pkgs, lib, ... }:
|
||||
|
||||
{
|
||||
options.librewolf = {
|
||||
enable = lib.mkEnableOption "Enables librewolf";
|
||||
make_default = lib.mkEnableOption "Makes librewolf the default browser";
|
||||
};
|
||||
|
||||
config = lib.mkIf config.librewolf.enable {
|
||||
home.packages = with pkgs; [
|
||||
librewolf
|
||||
];
|
||||
home.sessionVariables = {
|
||||
BROWSER = "librewolf";
|
||||
};
|
||||
defaultApps.browser = lib.mkIf config.librewolf.make_default "librewolf";
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue