]> Git — Sourcephile - julm/julm-nix.git/blob - home-manager/profiles/essential.nix
nix: add pre-commit-hooks
[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.hdparm
25 pkgs.hwinfo
26 pkgs.iotop
27 pkgs.lm_sensors
28 pkgs.lsof
29 pkgs.lsscsi
30 pkgs.mkpasswd
31 pkgs.multitail
32 pkgs.ncdu
33 pkgs.nix-du
34 pkgs.nload
35 pkgs.parted
36 pkgs.pass
37 pkgs.pciutils
38 #pkgs.powertop
39 pkgs.procps
40 pkgs.pstree
41 pkgs.pv
42 pkgs.smartmontools
43 pkgs.smem
44 pkgs.strace
45 pkgs.stress-ng
46 pkgs.testdisk
47 pkgs.tree
48 pkgs.usbutils
49 pkgs.util-linux
50 pkgs.which
51 pkgs.xdg-utils
52 ] ++ lib.optionals nixosConfig.services.xserver.enable [
53 pkgs.gparted
54 ];
55 home.sessionPath = [ "${config.home.homeDirectory}/bin" ];
56 home.sessionVariables = {
57 EDITOR = "vim";
58 LANG = "fr_FR.UTF-8";
59 LESS = "-FRSX";
60 LOCALE_ARCHIVE = "${pkgs.glibcLocales}/lib/locale/locale-archive";
61 MANPAGER = "less";
62 };
63 }