2023-03-31 17:35:45 +02:00
|
|
|
{ custom }: { 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-02-21 11:36:12 +01:00
|
|
|
home.username = custom.username;
|
|
|
|
home.homeDirectory = "/home/${custom.username}";
|
2022-12-01 22:43:09 +01:00
|
|
|
home.stateVersion = custom.version;
|
2022-01-12 14:45:13 +01:00
|
|
|
programs.home-manager.enable = true;
|
2023-03-31 17:15:52 +02:00
|
|
|
home.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-03-31 17:35:45 +02:00
|
|
|
home.packages = with pkgs; [
|
|
|
|
git
|
|
|
|
highlight
|
|
|
|
htop
|
|
|
|
killall
|
|
|
|
ncdu
|
|
|
|
nixpkgs-fmt
|
|
|
|
nmon
|
|
|
|
tree
|
|
|
|
unzip
|
|
|
|
wget
|
|
|
|
];
|
2021-12-22 18:14:17 +01:00
|
|
|
}
|