1
0
Fork 0

Fix firefox default profile

This commit is contained in:
Malte Brandy 2021-07-20 00:44:04 +02:00
parent f57708b8c9
commit e46333108e
No known key found for this signature in database
GPG key ID: 226A2D41EF5378C9
2 changed files with 6 additions and 6 deletions

View file

@ -55,7 +55,7 @@ in
install = f: ({ pkgs, ... }: { home.packages = f pkgs; }); install = f: ({ pkgs, ... }: { home.packages = f pkgs; });
setStartpage = startpage: setStartpage = startpage:
{ ... }: { { ... }: {
programs.firefox.profiles."fz2sm95u.default".settings = { programs.firefox.profiles."maralorn-default".settings = {
"browser.startup.homepage" = startpage; "browser.startup.homepage" = startpage;
}; };
}; };
@ -92,7 +92,7 @@ in
./roles/pythia.nix ./roles/pythia.nix
./roles/tinkering.nix ./roles/tinkering.nix
./roles/chat.nix ./roles/chat.nix
(setStartpage "https://stats.maralorn.de/d/health-status") (setStartpage "https://stats.maralorn.de")
(makeBlock [ ]) (makeBlock [ ])
]; ];
in in
@ -136,6 +136,7 @@ in
./roles/update_tasks.nix ./roles/update_tasks.nix
./roles/vdirsyncer.nix ./roles/vdirsyncer.nix
(import ./roles/mode-switching.nix { modeDir = ".volatile/modes"; modeFile = ".mode"; }) (import ./roles/mode-switching.nix { modeDir = ".volatile/modes"; modeFile = ".mode"; })
(setStartpage "https://stats.maralorn.de")
(makeAutostart "kassandra2") (makeAutostart "kassandra2")
(makeAutostart "unlock-ssh") (makeAutostart "unlock-ssh")
]; ];
@ -148,9 +149,9 @@ in
]; ];
in in
{ {
research = makeConfig "zeus" all; research = makeConfig "zeus" (all ++ [ (makeBlock restrictedPages) ]);
orga = makeConfig "zeus" orga; orga = makeConfig "zeus" (orga ++ [ (makeBlock restrictedPages) ]);
leisure = makeConfig "zeus" leisure; leisure = makeConfig "zeus" (leisure ++ [ (makeBlock [ ]) ]);
}; };
hera = { hera = {
default = makeConfig "hera" [ default = makeConfig "hera" [

View file

@ -5,7 +5,6 @@
userChrome = ""; # css userChrome = ""; # css
userContent = ""; # css userContent = ""; # css
settings = { settings = {
"browser.startup.homepage" = "https://stats.maralorn.de";
"browser.search.region" = "DE"; "browser.search.region" = "DE";
"distribution.searchplugins.defaultLocale" = "de-DE"; "distribution.searchplugins.defaultLocale" = "de-DE";
"general.useragent.locale" = "de-DE"; "general.useragent.locale" = "de-DE";