Move chromium configuration
This commit is contained in:
parent
be98bcad26
commit
f2d2dc0a2b
4 changed files with 3 additions and 18 deletions
|
@ -1,15 +0,0 @@
|
|||
{ config, lib, ... }:
|
||||
|
||||
let
|
||||
cfg = config.features.desktop.browsers.${name};
|
||||
name = "chromium";
|
||||
|
||||
inherit (lib) mkEnableOption mkIf;
|
||||
in
|
||||
{
|
||||
options.features.desktop.browsers.${name}.enable = mkEnableOption "Enable ${name}";
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
programs.${name}.enable = true;
|
||||
};
|
||||
}
|
|
@ -1,7 +1,6 @@
|
|||
{
|
||||
imports = [
|
||||
./bookmarkthis.nix
|
||||
./browsers/chromium.nix
|
||||
./browsers/firefox.nix
|
||||
./dev-commit.nix
|
||||
./gtk.nix
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue