1 { pkgs, lib, config, hostName, ... }:
7 (import (julm/hosts + "/${hostName}.nix"))
9 programs.firefox.profiles =
10 let defaultProfile = {
12 "browser.bookmarks.showMobileBookmarks" = true;
13 "browser.compactmode.show" = true;
14 "browser.search.isUS" = false;
15 "browser.search.region" = "FR";
16 "distribution.searchplugins.defaultLocale" = "fr-FR";
17 "general.useragent.locale" = "fr-FR";
18 "security.identityblock.show_extended_validation" = true;
19 "toolkit.legacyUserProfileCustomizations.stylesheets" = true;
21 userChrome = builtins.readFile programs/firefox/userChrome.css;
23 "rp4xy6ye.2021" = lib.mkMerge [defaultProfile {
27 "browser.startup.homepage" = "https://code.sourcephile.fr";
31 home.file."${config.programs.gpg.homedir}/gpg.conf".text = ''
33 trusted-key 0xD15AF7F467E8299B
34 # julm@sourcephile.fr (2021-08-12)
35 trusted-key 0xA58CD81C3863926F
37 services.gpg-agent.sshKeys = [
39 "D275EBA09C7E1FFBFB47F6EEF164E6D56FB24AB2"
40 # julm@sourcephile.fr (2021-08-12)
41 "3D94D14514F1EA2B6D62F1275D888897B082415D"
42 # Ed25519 key added on: 2021-10-31 06:48:49
43 # Fingerprints: MD5:fe:fe:81:79:d8:7f:e4:ff:64:ac:f3:1c:bd:65:24:3a
44 # SHA256:bCfwfC8MQTjm6c1HcMLtzvGpnWRdqLwe/bvbh2jsNaA
45 "F6CCA60CF05FADAE911CFBEC0BCDED22F40A19FD"
47 programs.irssi.extraConfig = builtins.readFile julm/irssi/config;
48 home.file.".irssi/passwd".text = ''
49 FreeNode : ${pkgs.pass}/bin/pass freenode.net/irc/julm
50 GeekNode : ${pkgs.pass}/bin/pass geeknode.org/irc/julm
51 IndyMedia : ${pkgs.pass}/bin/pass indymedia.org/irc/julm
52 Libera : ${pkgs.pass}/bin/pass libera.chat/irc/julm
53 OFTC : ${pkgs.pass}/bin/pass oftc.net/irc/julm
54 ToileLibre : ${pkgs.pass}/bin/pass toile-libre.org/irc/julm
56 programs.ssh.matchBlocks = lib.genAttrs ["lan.losurdo.sourcephile.fr" "losurdo.wg"] (_: {
57 compression = true; # Helps to get a better framerate with forwardX11
59 forwardX11Trusted = true;
60 serverAliveInterval = 15;
63 userName = "Julien Moutinho";
64 userEmail = "julm@sourcephile.fr";
65 signing.key = "0x7182433A39582282929B2A222E3618DD0D087650";
66 signing.signByDefault = false;
68 if lib.elem hostName [ "losurdo" "oignon" ]
72 sendemail.smtpEncryption = "ssl"; # Yes, "ssl", not "tls" which does not work because it expects STARTTLS.
73 sendemail.smtpServer = "mail.sourcephile.fr";
74 sendemail.smtpServerPort = "465";
75 sendemail.smtpUser = "julm@sourcephile.fr";
78 home.stateVersion = "20.09";