1 { pkgs, lib, config, hostName, ... }:
4 ../home-manager/profiles/essential.nix
5 ../home-manager/profiles/vim.nix
6 ../home-manager/options.nix
8 (import (julm/hosts + "/${hostName}.nix"))
10 programs.firefox.profiles =
11 let defaultProfile = {
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;
27 userChrome = lib.readFile ../home-manager/profiles/firefox/userChrome.css;
29 "rp4xy6ye.2021" = lib.mkMerge [defaultProfile {
33 "browser.startup.homepage" = "https://code.sourcephile.fr";
36 "8y3d28fa.tor" = lib.mkMerge [defaultProfile {
40 "browser.startup.homepage" = "https://check.torproject.org/";
41 "privacy.firstparty.isolate" = true;
45 home.file."${config.programs.gpg.homedir}/gpg.conf".text = ''
47 trusted-key 0xD15AF7F467E8299B
48 # julm@sourcephile.fr (2021-08-12)
49 trusted-key 0xA58CD81C3863926F
51 services.gpg-agent.sshKeys = [
53 "D275EBA09C7E1FFBFB47F6EEF164E6D56FB24AB2"
54 # julm@sourcephile.fr (2021-08-12)
55 "3D94D14514F1EA2B6D62F1275D888897B082415D"
56 # Ed25519 key added on: 2021-10-31 06:48:49
57 # Fingerprints: MD5:fe:fe:81:79:d8:7f:e4:ff:64:ac:f3:1c:bd:65:24:3a
58 # SHA256:bCfwfC8MQTjm6c1HcMLtzvGpnWRdqLwe/bvbh2jsNaA
59 "F6CCA60CF05FADAE911CFBEC0BCDED22F40A19FD"
61 programs.irssi.extraConfig = lib.readFile julm/irssi/config;
62 xdg.configFile."doom-config/config.el".text = lib.readFile julm/emacs/config.el;
63 home.file.".irssi/passwd".text = ''
64 FreeNode : ${pkgs.pass}/bin/pass freenode.net/irc/julm
65 GeekNode : ${pkgs.pass}/bin/pass geeknode.org/irc/julm
66 IndyMedia : ${pkgs.pass}/bin/pass indymedia.org/irc/julm
67 Libera : ${pkgs.pass}/bin/pass libera.chat/irc/julm
68 OFTC : ${pkgs.pass}/bin/pass oftc.net/irc/julm
69 ToileLibre : ${pkgs.pass}/bin/pass toile-libre.org/irc/julm
71 programs.ssh.matchBlocks = lib.genAttrs ["lan.losurdo.sourcephile.fr" "losurdo.wg"] (_: {
72 compression = true; # Helps to get a better framerate with forwardX11
74 forwardX11Trusted = true;
75 serverAliveInterval = 15;
78 userName = "Julien Moutinho";
79 userEmail = "julm@sourcephile.fr";
80 signing.key = "0x7182433A39582282929B2A222E3618DD0D087650";
81 signing.signByDefault = false;
83 sendemail.smtpEncryption = "ssl"; # Yes, "ssl", not "tls" which does not work because it expects STARTTLS.
84 sendemail.smtpServer = "mail.sourcephile.fr";
85 sendemail.smtpServerPort = "465";
86 sendemail.smtpUser = "julm@sourcephile.fr";
89 home.stateVersion = "20.09";