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 "general.useragent.locale" = "fr-FR";
19 "security.identityblock.show_extended_validation" = true;
20 "toolkit.legacyUserProfileCustomizations.stylesheets" = true;
22 userChrome = lib.readFile ../home-manager/profiles/firefox/userChrome.css;
24 "rp4xy6ye.2021" = lib.mkMerge [defaultProfile {
28 "browser.startup.homepage" = "https://code.sourcephile.fr";
32 home.file."${config.programs.gpg.homedir}/gpg.conf".text = ''
34 trusted-key 0xD15AF7F467E8299B
35 # julm@sourcephile.fr (2021-08-12)
36 trusted-key 0xA58CD81C3863926F
38 services.gpg-agent.sshKeys = [
40 "D275EBA09C7E1FFBFB47F6EEF164E6D56FB24AB2"
41 # julm@sourcephile.fr (2021-08-12)
42 "3D94D14514F1EA2B6D62F1275D888897B082415D"
43 # Ed25519 key added on: 2021-10-31 06:48:49
44 # Fingerprints: MD5:fe:fe:81:79:d8:7f:e4:ff:64:ac:f3:1c:bd:65:24:3a
45 # SHA256:bCfwfC8MQTjm6c1HcMLtzvGpnWRdqLwe/bvbh2jsNaA
46 "F6CCA60CF05FADAE911CFBEC0BCDED22F40A19FD"
48 programs.irssi.extraConfig = lib.readFile julm/irssi/config;
49 xdg.configFile."doom-config/config.el".text = lib.readFile julm/emacs/config.el;
50 home.file.".irssi/passwd".text = ''
51 FreeNode : ${pkgs.pass}/bin/pass freenode.net/irc/julm
52 GeekNode : ${pkgs.pass}/bin/pass geeknode.org/irc/julm
53 IndyMedia : ${pkgs.pass}/bin/pass indymedia.org/irc/julm
54 Libera : ${pkgs.pass}/bin/pass libera.chat/irc/julm
55 OFTC : ${pkgs.pass}/bin/pass oftc.net/irc/julm
56 ToileLibre : ${pkgs.pass}/bin/pass toile-libre.org/irc/julm
58 programs.ssh.matchBlocks = lib.genAttrs ["lan.losurdo.sourcephile.fr" "losurdo.wg"] (_: {
59 compression = true; # Helps to get a better framerate with forwardX11
61 forwardX11Trusted = true;
62 serverAliveInterval = 15;
65 userName = "Julien Moutinho";
66 userEmail = "julm@sourcephile.fr";
67 signing.key = "0x7182433A39582282929B2A222E3618DD0D087650";
68 signing.signByDefault = false;
70 sendemail.smtpEncryption = "ssl"; # Yes, "ssl", not "tls" which does not work because it expects STARTTLS.
71 sendemail.smtpServer = "mail.sourcephile.fr";
72 sendemail.smtpServerPort = "465";
73 sendemail.smtpUser = "julm@sourcephile.fr";
76 home.stateVersion = "20.09";