refactor(homeModules/desktop): move browser config to module
This commit is contained in:
parent
a1001ddb4c
commit
26c3c43aee
4 changed files with 10 additions and 18 deletions
12
modules/home/desktop/browser/firefox/default.nix
Normal file
12
modules/home/desktop/browser/firefox/default.nix
Normal file
|
@ -0,0 +1,12 @@
|
|||
{ config, lib, ... }:
|
||||
{
|
||||
config = lib.mkIf (config.desktop.browser == "firefox") {
|
||||
home.persistence."/persist/home/rafiq".directories = [ ".mozilla/firefox" ];
|
||||
home.sessionVariables.BROWSER = "firefox";
|
||||
programs.firefox = {
|
||||
enable = true;
|
||||
profiles.rafiq.id = 0;
|
||||
profiles.test.id = 1;
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue