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";
|
2021-05-15 11:27:05 +02:00
|
|
|
gpu = false;
|
2019-10-24 02:20:38 +02:00
|
|
|
};
|
|
|
|
google = {
|
|
|
|
home = "${homeFolder}/google-browser";
|
|
|
|
homeBackup = "${backupFolder}/google-browser";
|
2021-05-15 11:27:05 +02:00
|
|
|
gpu = true;
|
2019-10-24 02:20:38 +02:00
|
|
|
};
|
|
|
|
finance = {
|
|
|
|
home = "${homeFolder}/finance-browser";
|
|
|
|
homeBackup = "${backupFolder}/finance-browser";
|
2021-05-15 11:27:05 +02:00
|
|
|
gpu = false;
|
2019-10-24 02:20:38 +02:00
|
|
|
};
|
|
|
|
facebook = {
|
|
|
|
home = "${homeFolder}/facebook-browser";
|
|
|
|
homeBackup = "${backupFolder}/facebook-browser";
|
2021-05-15 11:27:05 +02:00
|
|
|
gpu = false;
|
2019-10-24 02:20:38 +02:00
|
|
|
};
|
|
|
|
shopping = {
|
|
|
|
home = "${homeFolder}/shopping-browser";
|
|
|
|
homeBackup = "${backupFolder}/shopping-browser";
|
2021-05-15 11:27:05 +02:00
|
|
|
gpu = false;
|
2019-10-24 02:20:38 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
firefox-tmp = {
|
|
|
|
browserType = "firefox";
|
|
|
|
home = "${homeFolder}/firefox-tmp";
|
|
|
|
homeBackup = "${backupFolder}/firefox-tmp-browser";
|
2021-05-15 11:27:05 +02:00
|
|
|
gpu = false;
|
2019-10-24 02:20:38 +02:00
|
|
|
};
|
|
|
|
chromium-tmp = {
|
|
|
|
browserType = "chrome";
|
|
|
|
home = "${homeFolder}/chromium-tmp";
|
|
|
|
homeBackup = "${backupFolder}/chrome-tmp-browser";
|
2021-05-15 11:27:05 +02:00
|
|
|
gpu = false;
|
2019-10-24 02:20:38 +02:00
|
|
|
};
|
|
|
|
google-tmp = {
|
|
|
|
browserType = "google";
|
|
|
|
home = "${homeFolder}/google-tmp";
|
|
|
|
homeBackup = "${backupFolder}google-tmp-browser";
|
2021-05-15 11:27:05 +02:00
|
|
|
gpu = false;
|
2019-10-24 02:20:38 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
};
|
|
|
|
};
|
2020-01-01 23:49:44 +01:00
|
|
|
|
2019-10-24 02:20:38 +02:00
|
|
|
}
|