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 softwares/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"
52 programs.irssi.extraConfig = builtins.readFile julm/irssi/config;
53 home.file.".irssi/passwd".text = ''
54 FreeNode : ${pkgs.pass}/bin/pass freenode.net/irc/julm
55 GeekNode : ${pkgs.pass}/bin/pass geeknode.org/irc/julm
56 IndyMedia : ${pkgs.pass}/bin/pass indymedia.org/irc/julm
57 Libera : ${pkgs.pass}/bin/pass libera.chat/irc/julm
58 OFTC : ${pkgs.pass}/bin/pass oftc.net/irc/julm
59 ToileLibre : ${pkgs.pass}/bin/pass toile-libre.org/irc/julm
61 programs.ssh.matchBlocks = lib.genAttrs ["lan.losurdo.sourcephile.fr" "losurdo.wg"] (_: {
62 compression = true; # Helps to get a better framerate with forwardX11
64 forwardX11Trusted = true;
65 serverAliveInterval = 15;
68 userName = "Julien Moutinho";
69 userEmail = "julm@sourcephile.fr";
70 signing.key = "0x7182433A39582282929B2A222E3618DD0D087650";
71 signing.signByDefault = false;
73 if lib.elem hostName [ "losurdo" "oignon" ]
77 sendemail.smtpEncryption = "ssl"; # Yes, "ssl", not "tls" which does not work because it expects STARTTLS.
78 sendemail.smtpServer = "mail.sourcephile.fr";
79 sendemail.smtpServerPort = "465";
80 sendemail.smtpUser = "julm@sourcephile.fr";
83 home.stateVersion = "20.09";
84 home.sessionPath = [ "${config.home.homeDirectory}/bin" ];
85 home.sessionVariables = {
89 LOCALE_ARCHIVE = "${pkgs.glibcLocales}/lib/locale/locale-archive";