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