]> Git — Sourcephile - julm/julm-nix.git/blob - home-manager/profiles/essential.nix
aubergine: upgrade to nixos-23.11
[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 ./ssh.nix
11 ./tmsu.nix
12 ./tmux.nix
13 ];
14 programs.bat.enable = lib.mkDefault true;
15 programs.home-manager.enable = true;
16 home.packages = [
17 nixosConfig.boot.kernelPackages.cpupower
18 nixosConfig.boot.kernelPackages.perf
19 pkgs.acpi
20 pkgs.binutils
21 pkgs.cryptsetup
22 pkgs.dmidecode
23 pkgs.dstat
24 pkgs.e2fsprogs
25 pkgs.file
26 pkgs.gptfdisk
27 pkgs.hdparm
28 pkgs.hwinfo
29 pkgs.i2c-tools # for decode-dimms
30 pkgs.iotop
31 pkgs.iperf
32 pkgs.lm_sensors
33 pkgs.lshw
34 pkgs.lsof
35 pkgs.lsscsi
36 pkgs.mkpasswd
37 #pkgs.moreutils
38 pkgs.multitail
39 pkgs.ncdu
40 pkgs.nix-du
41 pkgs.nix-tree
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 pkgs.otpclient
64 ];
65 home.sessionPath = [ "${config.home.homeDirectory}/bin" ];
66 home.sessionVariables = {
67 EDITOR = "vim";
68 LANG = "fr_FR.UTF-8";
69 LESS = "-FRSX";
70 # NixOS generates a customized pkgs.glibcLocales in config.i18n.glibcLocales
71 #LOCALE_ARCHIVE = "${pkgs.glibcLocalesUtf8}/lib/locale/locale-archive";
72 MANPAGER = "less";
73 };
74 }