home: tridactyl: setup config
This commit is contained in:
parent
d64cb708ff
commit
db024c02d5
4 changed files with 66 additions and 0 deletions
20
home/firefox.nix
Normal file
20
home/firefox.nix
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
let
|
||||
cfg = config.my.home.firefox;
|
||||
in
|
||||
{
|
||||
options.my.home.firefox = with lib; {
|
||||
enable = (mkEnableOption "firefox config") // { default = config.my.home.x.enable; };
|
||||
};
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
programs.firefox = {
|
||||
enable = true;
|
||||
package = pkgs.unstable.firefox.override {
|
||||
cfg = {
|
||||
enableTridactylNative = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue