2023-05-11 17:33:14 +02:00
|
|
|
{ lib
|
|
|
|
, config
|
|
|
|
, ...
|
|
|
|
}:
|
2023-04-16 17:56:43 +02:00
|
|
|
|
|
|
|
with lib;
|
2023-05-11 17:33:14 +02:00
|
|
|
let
|
|
|
|
cfg = config.my.profiles.personal;
|
|
|
|
in
|
2023-04-16 17:56:43 +02:00
|
|
|
{
|
2023-05-11 17:33:14 +02:00
|
|
|
options.my.profiles.personal.enable = mkEnableOption "personal profile";
|
|
|
|
|
|
|
|
config = mkIf cfg.enable
|
|
|
|
{
|
|
|
|
my = {
|
|
|
|
services = {
|
|
|
|
openconnect.enable = true;
|
|
|
|
synology-drive.enable = true;
|
|
|
|
};
|
|
|
|
programs = {
|
2023-05-16 12:13:20 +02:00
|
|
|
ssh.includeSecrets = [ ../../secrets/ssh-home.age ];
|
2023-05-11 17:33:14 +02:00
|
|
|
git.signing = mkDefault true;
|
|
|
|
hub.enable = mkDefault true;
|
|
|
|
firefox.arkenfox = {
|
|
|
|
enable = mkDefault true;
|
|
|
|
overrides = mkDefault {
|
|
|
|
## arkenfox overrides
|
|
|
|
# automatic search
|
|
|
|
"keyword.enabled" = true;
|
|
|
|
"browser.search.suggest.enabled" = true;
|
|
|
|
"browser.urlbar.suggest.searches" = true;
|
|
|
|
|
2023-12-10 17:13:08 +01:00
|
|
|
# Restore previous session on startup
|
|
|
|
"browser.startup.page" = 3;
|
2023-05-11 17:33:14 +02:00
|
|
|
|
|
|
|
# drm
|
|
|
|
"media.eme.enabled" = true;
|
|
|
|
|
|
|
|
# sanitisation
|
|
|
|
"privacy.clearOnShutdown.history" = false;
|
|
|
|
|
|
|
|
# disable letterboxing
|
|
|
|
"privacy.resistFingerprinting.letterboxing" = false;
|
|
|
|
};
|
|
|
|
};
|
2023-04-16 17:56:43 +02:00
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|