]> Git — Sourcephile - julm/julm-nix.git/blob - home-manager/profiles/essential.nix
nix: tweak nix-daemon and nix-gc schedulings
[julm/julm-nix.git] / home-manager / profiles / essential.nix
1 { pkgs, lib, config, nixosConfig, ... }:
2 {
3 imports = [
4 ./bash.nix
5 ./direnv.nix
6 ./git.nix
7 ./gnupg.nix
8 ./htop.nix
9 ./lf.nix
10 ./nix.nix
11 ./ssh.nix
12 ./tmsu.nix
13 ./tmux.nix
14 ];
15 programs.bat.enable = lib.mkDefault true;
16 home.packages = [
17 nixosConfig.boot.kernelPackages.cpupower
18 nixosConfig.boot.kernelPackages.perf
19 pkgs.acpi
20 pkgs.audit
21 pkgs.binutils
22 pkgs.cryptsetup
23 pkgs.dmidecode
24 pkgs.dstat
25 pkgs.e2fsprogs
26 pkgs.file
27 pkgs.fio
28 pkgs.gptfdisk
29 pkgs.hdparm
30 pkgs.hwinfo
31 pkgs.i2c-tools # for decode-dimms
32 pkgs.iotop
33 pkgs.iperf
34 pkgs.lm_sensors
35 pkgs.lshw
36 pkgs.lsof
37 pkgs.lsscsi
38 pkgs.mkpasswd
39 #pkgs.moreutils
40 pkgs.multitail
41 pkgs.ncdu
42 pkgs.nload
43 pkgs.parted
44 pkgs.pass
45 pkgs.pciutils
46 #pkgs.powertop
47 pkgs.procps
48 pkgs.pstree
49 pkgs.pv
50 pkgs.s-tui
51 pkgs.smartmontools
52 pkgs.smem
53 pkgs.strace
54 pkgs.stress-ng
55 pkgs.testdisk
56 pkgs.tree
57 pkgs.usbutils
58 pkgs.util-linux
59 pkgs.which
60 pkgs.xdg-utils
61 ] ++ lib.optionals nixosConfig.services.xserver.enable [
62 pkgs.gparted
63 ];
64 home.sessionPath = [ "${config.home.homeDirectory}/bin" ];
65 home.sessionVariables = {
66 EDITOR = "vim";
67 LANG = "fr_FR.UTF-8";
68 LESS = "-FRSX";
69 # NixOS generates a customized pkgs.glibcLocales in config.i18n.glibcLocales
70 #LOCALE_ARCHIVE = "${pkgs.glibcLocalesUtf8}/lib/locale/locale-archive";
71 MANPAGER = "less";
72 };
73 }