refactor(browser): create single browser module
This commit is contained in:
12
home/modules/browser/chromium.nix
Normal file
12
home/modules/browser/chromium.nix
Normal file
@@ -0,0 +1,12 @@
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
|
||||
{
|
||||
config = lib.mkIf (config.browser.primary == "chromium" || config.browser.secondary == "chromium") {
|
||||
home.packages = [ pkgs.chromium ];
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user