]> Git — Sourcephile - julm/julm-nix.git/blob - home-manager/profiles/essential.nix
linux: use mkDefault to select kernel
[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.smartmontools
49 pkgs.smem
50 pkgs.strace
51 pkgs.stress-ng
52 pkgs.testdisk
53 pkgs.tree
54 pkgs.usbutils
55 pkgs.util-linux
56 pkgs.which
57 pkgs.xdg-utils
58 ] ++ lib.optionals nixosConfig.services.xserver.enable [
59 pkgs.gparted
60 pkgs.otpclient
61 ];
62 home.sessionPath = [ "${config.home.homeDirectory}/bin" ];
63 home.sessionVariables = {
64 EDITOR = "vim";
65 LANG = "fr_FR.UTF-8";
66 LESS = "-FRSX";
67 # NixOS generates a customized pkgs.glibcLocales in config.i18n.glibcLocales
68 #LOCALE_ARCHIVE = "${pkgs.glibcLocalesUtf8}/lib/locale/locale-archive";
69 MANPAGER = "less";
70 };
71 }