1 { pkgs, lib, config, ... }:
10 config.host.name == "oignon";
12 config.host.name == "mermet" ||
13 config.host.name == "losurdo";
14 programs.bash.enable = true;
15 programs.gpg.enable = true;
16 home.file.".gnupg/gpg.conf".text = ''
18 trusted-key 0xD15AF7F467E8299B
20 trusted-key 0x2E3618DD0D087650
22 services.gpg-agent.enable = true;
23 services.gpg-agent.sshKeys = [
25 "D275EBA09C7E1FFBFB47F6EEF164E6D56FB24AB2"
27 "123BF80054E9E9CE2BD7B899F07207665392B727"
29 programs.direnv.enable = true;
30 programs.htop.enable = true;
31 programs.irssi.enable = config.host.name == "mermet";
32 home.file.".irssi/passwd".text = ''
33 FreeNode : ${pkgs.pass}/bin/pass freenode.net/irc/julm
34 GeekNode : ${pkgs.pass}/bin/pass geeknode.org/irc/julm
35 IndyMedia : ${pkgs.pass}/bin/pass indymedia.org/irc/julm
36 ToileLibre : ${pkgs.pass}/bin/pass toile-libre.org/irc/julm
38 programs.vim.enable = true;
39 programs.ssh.enable = true;
40 programs.tmux.enable = true;
41 programs.man.enable = true;
42 manual.manpages.enable = false;
43 # builtins.elem config.host.name ["losurdo" "oignon"];
46 userName = "Julien Moutinho";
47 userEmail = "julm@sourcephile.fr";
48 signing.key = "0x7182433A39582282929B2A222E3618DD0D087650";
49 signing.signByDefault = false;
51 sendemail.smtpEncryption = "ssl"; # Yes, "ssl", not "tls" which does not work because it expects STARTTLS.
52 sendemail.smtpServer = "mail.sourcephile.fr";
53 sendemail.smtpServerPort = "465";
54 sendemail.smtpUser = "julm@sourcephile.fr";
57 services.redshift.enable = config.host.desktop;
58 xsession.enable = config.host.desktop;
59 xsession.windowManager.xmonad.enable = config.host.desktop;
60 home.stateVersion = "20.09";
61 home.sessionVariables = {
65 LOCALE_ARCHIVE = "${pkgs.glibcLocales}/lib/locale/locale-archive";
67 PATH = lib.makeBinPath [ config.home.homeDirectory ] + ":$PATH";
69 # Warning: triggers a rebuild of mumble
70 #nixpkgs.config.mumble.speechdSupport = config.host.desktop;
107 #pkgs.haskell.packages.ghc865.zerobin
112 pkgs.hunspellDicts.fr-moderne
122 pkgs.linuxPackages.cpupower
123 pkgs.linuxPackages.perf
133 pkgs.nix-prefetch-git
178 ] ++ lib.optionals config.host.desktop [
189 pkgs.hicolor-icon-theme
196 pkgs.networkmanager-openvpn
197 pkgs.networkmanagerapplet
202 pkgs.transmission-gtk