]> Git — Sourcephile - julm/julm-nix.git/blob - homes/mo.nix
patate: nix: diable auto-optimise-store
[julm/julm-nix.git] / homes / mo.nix
1 { pkgs, lib, config, hostName, ... }:
2 {
3 imports = [
4 ../home-manager/profiles/essential.nix
5 ../home-manager/profiles/vim.nix
6 ../home-manager/options.nix
7 (import (mo/hosts + "/${hostName}.nix"))
8 ];
9 programs.firefox.profiles =
10 let
11 defaultProfile = {
12 settings = {
13 "browser.bookmarks.showMobileBookmarks" = true;
14 "browser.compactmode.show" = true;
15 "browser.search.isUS" = false;
16 "browser.search.region" = "FR";
17 "distribution.searchplugins.defaultLocale" = "fr-FR";
18 "dom.security.https_first" = true;
19 "dom.security.https_only_mode" = true;
20 "general.useragent.locale" = "fr-FR";
21 "privacy.globalprivacycontrol.enabled" = true;
22 "privacy.globalprivacycontrol.functionality.enabled" = true;
23 "security.identityblock.show_extended_validation" = true;
24 "toolkit.legacyUserProfileCustomizations.stylesheets" = true;
25 #"privacy.firstparty.isolate" = true;
26 };
27 userChrome = lib.readFile ../home-manager/profiles/firefox/userChrome.css;
28 };
29 in
30 {
31 "646f487e.default" = lib.mkMerge [
32 defaultProfile
33 {
34 id = 0;
35 name = "default";
36 settings = {
37 "browser.startup.homepage" = "https://google.fr";
38 };
39 }
40 ];
41 };
42 }