nixos-config/nixos/system/desktop/browser.nix

59 lines
1.5 KiB
Nix
Raw Normal View History

2019-10-24 02:20:38 +02:00
{ config, lib, ... }:
let
2022-04-05 15:14:26 +02:00
backupFolder = "~/desktop/browser-images";
2019-10-24 02:20:38 +02:00
homeFolder = "/browsers";
2021-11-01 09:20:42 +01:00
in
{
2019-10-24 02:20:38 +02:00
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
}