]> Git — Sourcephile - julm/julm-nix.git/blob - homes/sevy.nix
patate: fix nixos-install (still fail because of restrict-eval true)
[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.ssh.enable = true;
15 programs.vim.enable = true;
16 home.file.".profile".text = ''
17 # Tell XFCE to not start ssh-agent
18 ! command -v xfconf-query >/dev/null ||
19 xfconf-query -c xfce4-session -p /startup/ssh-agent/enabled -n -t bool -s false
20 '';
21 services.gpg-agent.enable = true;
22 services.redshift.enable = config.host.desktop;
23 home.sessionVariables = {
24 EDITOR = "vim -g";
25 LANG = "fr_FR.UTF-8";
26 LESS = "-FRSX";
27 LOCALE_ARCHIVE = "${pkgs.glibcLocales}/lib/locale/locale-archive";
28 MANPAGER = "less";
29 PATH = lib.makeBinPath [ config.home.homeDirectory ] + ":$PATH";
30 };
31 home.packages = [
32 pkgs.acpi
33 pkgs.aria2
34 pkgs.aspell
35 pkgs.aspellDicts.fr
36 pkgs.bc
37 pkgs.binutils
38 pkgs.bmon
39 pkgs.coreutils
40 pkgs.croc
41 pkgs.cryptsetup
42 pkgs.curl
43 pkgs.dino
44 #pkgs.dnsutils
45 pkgs.ffmpeg
46 pkgs.file
47 pkgs.git-crypt
48 pkgs.gnumake
49 pkgs.gvfs
50 #pkgs.haskell.packages.ghc865.zerobin
51 pkgs.hledger
52 pkgs.hunspell
53 pkgs.hunspellDicts.fr-moderne
54 pkgs.imagemagick
55 pkgs.inetutils
56 pkgs.knot-dns
57 pkgs.less
58 pkgs.linuxPackages.cpupower
59 pkgs.lm_sensors
60 pkgs.lsof
61 pkgs.lsscsi
62 pkgs.meli
63 pkgs.miniupnpc
64 pkgs.ncdu
65 pkgs.neofetch
66 pkgs.ntfs3g
67 #pkgs.onionshare
68 pkgs.p7zip
69 pkgs.pass
70 pkgs.pciutils
71 pkgs.procps
72 pkgs.rdfind
73 pkgs.smartmontools
74 pkgs.sshfs
75 pkgs.sudo
76 pkgs.tig
77 pkgs.tree
78 pkgs.unzip
79 pkgs.usbutils
80 pkgs.utillinux
81 pkgs.vbetool
82 pkgs.wget
83 pkgs.which
84 pkgs.xdg_utils
85 pkgs.youtube-dl
86 ] ++ lib.optionals config.host.desktop [
87 pkgs.amule
88 pkgs.chromium
89 pkgs.djview
90 pkgs.dmenu
91 pkgs.evince
92 pkgs.firefox
93 pkgs.freeciv_gtk
94 pkgs.geeqie
95 pkgs.gimp
96 pkgs.gparted
97 pkgs.keepass
98 pkgs.libdvdcss
99 pkgs.libreoffice
100 pkgs.liferea
101 pkgs.mplayer
102 pkgs.mumble
103 pkgs.networkmanager-openvpn
104 pkgs.networkmanagerapplet
105 pkgs.parcellite
106 pkgs.pasystray
107 pkgs.pavucontrol
108 pkgs.thunderbird
109 pkgs.transmission-gtk
110 pkgs.vlc
111 pkgs.xclip
112 pkgs.xorg.xhost
113 pkgs.xsane
114
115 pkgs.elementary-xfce-icon-theme
116 pkgs.gnome3.gnome-calculator
117 pkgs.gnome3.defaultIconTheme
118 pkgs.gnome3.file-roller
119 pkgs.gnome3.gnome-keyring
120 pkgs.gnome3.seahorse
121 pkgs.hicolor-icon-theme
122 pkgs.xfce.thunar-volman
123 ];
124 }