nixos-config/system/desktop/browser.nix

62 lines
1.7 KiB
Nix
Raw Normal View History

2019-10-24 02:20:38 +02:00
{ config, lib, ... }:
let
backupFolder = "~/desktop";
homeFolder = "/browsers";
in {
programs.custom.browser = {
2021-03-05 16:01:24 +01:00
enable = lib.mkDefault true;
2019-10-24 02:20:38 +02:00
configList = {
development = {
home = "${homeFolder}/development-browser";
homeBackup = "${backupFolder}/development-browser";
};
google = {
home = "${homeFolder}/google-browser";
homeBackup = "${backupFolder}/google-browser";
};
finance = {
home = "${homeFolder}/finance-browser";
homeBackup = "${backupFolder}/finance-browser";
};
facebook = {
home = "${homeFolder}/facebook-browser";
homeBackup = "${backupFolder}/facebook-browser";
};
shopping = {
home = "${homeFolder}/shopping-browser";
homeBackup = "${backupFolder}/shopping-browser";
};
mindcurv = {
home = "${homeFolder}/mindcurv-browser";
homeBackup = "${backupFolder}/mindcurv-browser";
};
cbase = {
home = "${homeFolder}/cbase-browser";
homeBackup = "${backupFolder}/cbase-browser";
};
nz-browser = {
home = "${homeFolder}/nz-browser";
homeBackup = "${backupFolder}/nz-browser";
};
firefox-tmp = {
browserType = "firefox";
home = "${homeFolder}/firefox-tmp";
homeBackup = "${backupFolder}/firefox-tmp-browser";
};
chromium-tmp = {
browserType = "chrome";
home = "${homeFolder}/chromium-tmp";
homeBackup = "${backupFolder}/chrome-tmp-browser";
};
google-tmp = {
browserType = "google";
home = "${homeFolder}/google-tmp";
homeBackup = "${backupFolder}google-tmp-browser";
};
};
};
2020-01-01 23:49:44 +01:00
2019-10-24 02:20:38 +02:00
}