Move chromium configuration
This commit is contained in:
parent
be98bcad26
commit
f2d2dc0a2b
4 changed files with 3 additions and 18 deletions
|
@ -16,8 +16,6 @@
|
|||
|
||||
desktop = {
|
||||
browsers = {
|
||||
chromium.enable = true;
|
||||
|
||||
firefox.enable = true;
|
||||
firefox.homepageUrl = "https://nixedo.oliverdavies.uk";
|
||||
};
|
||||
|
|
|
@ -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
|
||||
|
|
3
modules2/browsers/chromium.nix
Normal file
3
modules2/browsers/chromium.nix
Normal file
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
flake.modules.homeManager.gui.programs.chromium.enable = true;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue