1
0
Fork 0

Move setStartpage binding

This commit is contained in:
Malte Brandy 2021-07-20 00:48:05 +02:00
parent e46333108e
commit 0975361524
No known key found for this signature in database
GPG key ID: 226A2D41EF5378C9

View file

@ -26,6 +26,12 @@ let
"twitter.com"
"chaos.social"
];
setStartpage = startpage:
{ ... }: {
programs.firefox.profiles."maralorn-default".settings = {
"browser.startup.homepage" = startpage;
};
};
makeConfig = hostName: imports:
{ ... }: {
imports = imports ++ [ ./roles/default.nix ];
@ -53,12 +59,6 @@ in
apollo =
let
install = f: ({ pkgs, ... }: { home.packages = f pkgs; });
setStartpage = startpage:
{ ... }: {
programs.firefox.profiles."maralorn-default".settings = {
"browser.startup.homepage" = startpage;
};
};
apolloConfig = name: imports:
makeConfig "apollo" (
imports ++ [