2023-05-29 14:58:49 +02:00
|
|
|
{ config, pkgs, ... }:
|
2021-12-22 18:14:17 +01:00
|
|
|
{
|
|
|
|
# Home Manager needs a bit of information about you and the
|
|
|
|
# paths it should manage.
|
2022-01-12 14:45:13 +01:00
|
|
|
programs.home-manager.enable = true;
|
2023-04-04 13:48:07 +02:00
|
|
|
home = {
|
2023-05-29 14:58:49 +02:00
|
|
|
homeDirectory = "/home/${config.home.username}";
|
2023-05-29 14:03:28 +02:00
|
|
|
stateVersion = "22.11";
|
2023-04-04 13:48:07 +02:00
|
|
|
sessionVariables = {
|
|
|
|
EDITOR = "vim";
|
|
|
|
HIGHLIGHT_STYLE = "solarized-light";
|
|
|
|
HISTTIMEFORMAT = "%F %T ";
|
|
|
|
NIXPKGS_ALLOW_UNFREE = "1";
|
|
|
|
};
|
|
|
|
|
|
|
|
shellAliases = {
|
|
|
|
format-modules = "nixpkgs-fmt **/*.nix";
|
|
|
|
nix-generations = "sudo nix-env --list-generations --profile /nix/var/nix/profiles/system";
|
|
|
|
rebuild = ''
|
|
|
|
nixos-rebuild -j auto switch --use-remote-sudo
|
|
|
|
'';
|
|
|
|
find-garbage = "ls -l /nix/var/nix/gcroots/auto/ | sort";
|
|
|
|
vm = "vim";
|
|
|
|
less = "less -FiRX";
|
|
|
|
ls = "ls -lhF";
|
2023-05-15 11:46:56 +02:00
|
|
|
btm = "btm --color default-light";
|
2023-04-04 13:48:07 +02:00
|
|
|
};
|
|
|
|
packages = with pkgs; [
|
2023-05-15 11:46:56 +02:00
|
|
|
bottom
|
2023-04-04 13:48:07 +02:00
|
|
|
git
|
|
|
|
highlight
|
|
|
|
htop
|
|
|
|
killall
|
|
|
|
ncdu
|
|
|
|
nixpkgs-fmt
|
|
|
|
nmon
|
|
|
|
tree
|
|
|
|
unzip
|
|
|
|
wget
|
|
|
|
];
|
2023-03-31 17:15:52 +02:00
|
|
|
};
|
2021-12-22 18:14:17 +01:00
|
|
|
}
|