1 { pkgs, lib, config, hostName, ... }:
7 (import (julm/hosts + "/${hostName}.nix"))
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 "general.useragent.locale" = "fr-FR";
19 "security.identityblock.show_extended_validation" = true;
20 "toolkit.legacyUserProfileCustomizations.stylesheets" = true;
22 userChrome = builtins.readFile programs/firefox/userChrome.css;
24 "rp4xy6ye.2021" = lib.mkMerge [defaultProfile {
28 "browser.startup.homepage" = "https://code.sourcephile.fr";
31 "8y3d28fa.tor" = lib.mkMerge [defaultProfile {
35 "browser.startup.homepage" = "https://check.torproject.org";
40 home.file."${config.programs.gpg.homedir}/gpg.conf".text = ''
42 trusted-key 0xD15AF7F467E8299B
43 # julm@sourcephile.fr (2021-08-12)
44 trusted-key 0xA58CD81C3863926F
46 services.gpg-agent.sshKeys = [
48 "D275EBA09C7E1FFBFB47F6EEF164E6D56FB24AB2"
49 # julm@sourcephile.fr (2021-08-12)
50 "3D94D14514F1EA2B6D62F1275D888897B082415D"
51 # Ed25519 key added on: 2021-10-31 06:48:49
52 # Fingerprints: MD5:fe:fe:81:79:d8:7f:e4:ff:64:ac:f3:1c:bd:65:24:3a
53 # SHA256:bCfwfC8MQTjm6c1HcMLtzvGpnWRdqLwe/bvbh2jsNaA
54 "F6CCA60CF05FADAE911CFBEC0BCDED22F40A19FD"
56 programs.irssi.extraConfig = builtins.readFile julm/irssi/config;
57 home.file.".irssi/passwd".text = ''
58 FreeNode : ${pkgs.pass}/bin/pass freenode.net/irc/julm
59 GeekNode : ${pkgs.pass}/bin/pass geeknode.org/irc/julm
60 IndyMedia : ${pkgs.pass}/bin/pass indymedia.org/irc/julm
61 Libera : ${pkgs.pass}/bin/pass libera.chat/irc/julm
62 OFTC : ${pkgs.pass}/bin/pass oftc.net/irc/julm
63 ToileLibre : ${pkgs.pass}/bin/pass toile-libre.org/irc/julm
65 programs.ssh.matchBlocks = lib.genAttrs ["lan.losurdo.sourcephile.fr" "losurdo.wg"] (_: {
66 compression = true; # Helps to get a better framerate with forwardX11
68 forwardX11Trusted = true;
69 serverAliveInterval = 15;
72 userName = "Julien Moutinho";
73 userEmail = "julm@sourcephile.fr";
74 signing.key = "0x7182433A39582282929B2A222E3618DD0D087650";
75 signing.signByDefault = false;
77 if lib.elem hostName [ "losurdo" "oignon" ]
81 sendemail.smtpEncryption = "ssl"; # Yes, "ssl", not "tls" which does not work because it expects STARTTLS.
82 sendemail.smtpServer = "mail.sourcephile.fr";
83 sendemail.smtpServerPort = "465";
84 sendemail.smtpUser = "julm@sourcephile.fr";
87 home.stateVersion = "20.09";
88 home.sessionPath = [ "${config.home.homeDirectory}/bin" ];
89 home.sessionVariables = {
93 LOCALE_ARCHIVE = "${pkgs.glibcLocales}/lib/locale/locale-archive";