]> Git — Sourcephile - julm/julm-nix.git/blob - homes/sevy.nix
wireguard: restart peer on failure (eg. DNS)
[julm/julm-nix.git] / homes / sevy.nix
1 { pkgs, lib, config, ... }:
2 {
3 imports = [
4 ./softwares.nix
5 ./options.nix
6 ];
7 host.desktop =
8 config.host.name == "patate";
9 programs.bash.enable = true;
10 programs.git.enable = true;
11 programs.git.package = pkgs.gitMinimal;
12 programs.gpg.enable = true;
13 programs.htop.enable = true;
14 programs.home-manager.enable = true;
15 programs.ssh.enable = true;
16 programs.vim.enable = true;
17 home.file.".profile".text = ''
18 # Tell XFCE to not start ssh-agent
19 if command -v xfconf-query >/dev/null && test ''${DISPLAY:+set}; then
20 xfconf-query -c xfce4-session -p /startup/ssh-agent/enabled -n -t bool -s false
21 fi
22 '';
23 services.gpg-agent.enable = true;
24 services.redshift.enable = config.host.desktop;
25 home.sessionPath = [ "${config.home.homeDirectory}/bin" ];
26 home.sessionVariables = {
27 EDITOR = "vim -g";
28 LANG = "fr_FR.UTF-8";
29 LESS = "-FRSX";
30 LOCALE_ARCHIVE = "${pkgs.glibcLocales}/lib/locale/locale-archive";
31 MANPAGER = "less";
32 };
33 home.packages = [
34 pkgs.acpi
35 pkgs.aria2
36 pkgs.aspell
37 pkgs.aspellDicts.fr
38 pkgs.bc
39 pkgs.binutils
40 pkgs.bmon
41 pkgs.coreutils
42 pkgs.croc
43 pkgs.cryptsetup
44 pkgs.curl
45 pkgs.dino
46 #pkgs.dnsutils
47 pkgs.dstat
48 pkgs.ffmpeg
49 pkgs.file
50 pkgs.git-crypt
51 pkgs.go-mtpfs
52 pkgs.gnumake
53 pkgs.gvfs
54 #pkgs.haskell.packages.ghc865.zerobin
55 pkgs.hledger
56 pkgs.hunspell
57 pkgs.hunspellDicts.fr-moderne
58 pkgs.imagemagick
59 pkgs.inetutils
60 pkgs.knot-dns
61 pkgs.less
62 pkgs.linuxPackages.cpupower
63 pkgs.lm_sensors
64 pkgs.lsof
65 pkgs.lsscsi
66 pkgs.meli
67 pkgs.miniupnpc
68 pkgs.ncdu
69 pkgs.neofetch
70 pkgs.ntfs3g
71 #pkgs.onionshare
72 pkgs.p7zip
73 pkgs.pass
74 pkgs.pciutils
75 pkgs.procps
76 pkgs.rdfind
77 pkgs.smartmontools
78 pkgs.sshfs
79 pkgs.sudo
80 pkgs.tig
81 pkgs.tree
82 pkgs.unzip
83 pkgs.usbutils
84 pkgs.utillinux
85 pkgs.vbetool
86 pkgs.wget
87 pkgs.which
88 pkgs.xdg_utils
89 pkgs.youtube-dl
90 ] ++ lib.optionals config.host.desktop [
91 #pkgs.amule
92 pkgs.chromium
93 pkgs.copyq
94 pkgs.djview
95 pkgs.dmenu
96 pkgs.evince
97 pkgs.firefox
98 #pkgs.freecad
99 pkgs.freeciv_gtk
100 pkgs.geeqie
101 pkgs.gimp
102 pkgs.gparted
103 pkgs.graphviz
104 pkgs.keepass
105 pkgs.libdvdcss
106 pkgs.libreoffice
107 pkgs.liferea
108 pkgs.mplayer
109 pkgs.mumble
110 pkgs.networkmanager-openvpn
111 pkgs.networkmanagerapplet
112 pkgs.pasystray
113 pkgs.pavucontrol
114 (pkgs.qgis.override { extraPythonPackages = (ps: [
115 ps.pyqt5_with_qtwebkit
116 ]); })
117 pkgs.thunderbird
118 pkgs.transmission-gtk
119 pkgs.vlc
120 pkgs.xclip
121 pkgs.xorg.xhost
122 pkgs.xsane
123
124 pkgs.elementary-xfce-icon-theme
125 pkgs.gnome3.gnome-calculator
126 pkgs.gnome3.defaultIconTheme
127 pkgs.gnome3.file-roller
128 pkgs.gnome3.gnome-keyring
129 pkgs.gnome3.seahorse
130 pkgs.hicolor-icon-theme
131 pkgs.xfce.thunar-volman
132 ];
133 }