{ pkgs, lib, config, nixosConfig, ... }:
{
-imports = [
- ./bash.nix
- ./direnv.nix
- ./git.nix
- #./gnupg.nix
- ./htop.nix
- ./lf.nix
- ./ssh.nix
- ./tmux.nix
-];
-programs.bat.enable = lib.mkDefault true;
-programs.home-manager.enable = true;
-home.packages = [
- nixosConfig.boot.kernelPackages.cpupower
- pkgs.acpi
- pkgs.binutils
- pkgs.cryptsetup
- pkgs.dmidecode
- pkgs.dstat
- pkgs.e2fsprogs
- pkgs.file
- pkgs.hdparm
- pkgs.hwinfo
- pkgs.iotop
- pkgs.lm_sensors
- pkgs.lsof
- pkgs.lsscsi
- pkgs.mkpasswd
- pkgs.multitail
- pkgs.ncdu
- pkgs.nix-du
- pkgs.nload
- pkgs.parted
- pkgs.pass
- pkgs.pciutils
- pkgs.powertop
- pkgs.procps
- pkgs.pstree
- pkgs.pv
- pkgs.smartmontools
- pkgs.smem
- pkgs.strace
- pkgs.stress-ng
- pkgs.testdisk
- pkgs.tree
- pkgs.usbutils
- pkgs.utillinux
- pkgs.which
- pkgs.xdg_utils
-] ++ lib.optionals nixosConfig.services.xserver.enable [
- pkgs.gparted
-];
-home.sessionPath = [ "${config.home.homeDirectory}/bin" ];
-home.sessionVariables = {
- EDITOR = "vim";
- LANG = "fr_FR.UTF-8";
- LESS = "-FRSX";
- LOCALE_ARCHIVE = "${pkgs.glibcLocales}/lib/locale/locale-archive";
- MANPAGER = "less";
-};
+ imports = [
+ ./bash.nix
+ ./direnv.nix
+ ./git.nix
+ ./gnupg.nix
+ ./htop.nix
+ ./lf.nix
+ ./ssh.nix
+ ./tmsu.nix
+ ./tmux.nix
+ ];
+ programs.bat.enable = lib.mkDefault true;
+ programs.home-manager.enable = true;
+ home.packages = [
+ nixosConfig.boot.kernelPackages.cpupower
+ nixosConfig.boot.kernelPackages.perf
+ pkgs.acpi
+ pkgs.binutils
+ pkgs.cryptsetup
+ pkgs.dmidecode
+ pkgs.dstat
+ pkgs.e2fsprogs
+ pkgs.file
+ pkgs.gptfdisk
+ pkgs.hdparm
+ pkgs.hwinfo
+ pkgs.i2c-tools # for decode-dimms
+ pkgs.iotop
+ pkgs.iperf
+ pkgs.lm_sensors
+ pkgs.lshw
+ pkgs.lsof
+ pkgs.lsscsi
+ pkgs.mkpasswd
+ #pkgs.moreutils
+ pkgs.multitail
+ pkgs.ncdu
+ pkgs.nix-du
+ pkgs.nix-tree
+ pkgs.nload
+ pkgs.parted
+ pkgs.pass
+ pkgs.pciutils
+ #pkgs.powertop
+ pkgs.procps
+ pkgs.pstree
+ pkgs.pv
+ pkgs.s-tui
+ pkgs.smartmontools
+ pkgs.smem
+ pkgs.strace
+ pkgs.stress-ng
+ pkgs.testdisk
+ pkgs.tree
+ pkgs.usbutils
+ pkgs.util-linux
+ pkgs.which
+ pkgs.xdg-utils
+ ] ++ lib.optionals nixosConfig.services.xserver.enable [
+ pkgs.gparted
+ pkgs.otpclient
+ ];
+ home.sessionPath = [ "${config.home.homeDirectory}/bin" ];
+ home.sessionVariables = {
+ EDITOR = "vim";
+ LANG = "fr_FR.UTF-8";
+ LESS = "-FRSX";
+ # NixOS generates a customized pkgs.glibcLocales in config.i18n.glibcLocales
+ #LOCALE_ARCHIVE = "${pkgs.glibcLocalesUtf8}/lib/locale/locale-archive";
+ MANPAGER = "less";
+ };
}