nixos/modules/cli/default.nix

29 lines
562 B
Nix
Raw Normal View History

2022-03-16 15:22:13 +01:00
{ pkgs, ... }:
2021-11-23 22:17:41 +01:00
{
environment.systemPackages = with pkgs; [
git
highlight
htop
killall
ncdu
2021-11-24 09:46:59 +01:00
nixpkgs-fmt
2021-11-23 22:17:41 +01:00
ranger
tree
2021-11-29 19:22:53 +01:00
unzip
2021-11-23 22:17:41 +01:00
vim
wget
];
2021-12-22 18:02:36 +01:00
environment.shellAliases = {
2022-01-31 10:54:01 +01:00
format-modules = "nixpkgs-fmt **/*.nix";
nix-generations = "sudo nix-env --list-generations --profile /nix/var/nix/profiles/system";
2022-04-16 15:24:10 +02:00
rebuild = ''
rm -rf ~/.config/qtile/__pycache__ &&
nixos-rebuild -j auto switch --use-remote-sudo
2022-04-16 15:24:10 +02:00
'';
2022-01-31 10:54:01 +01:00
find-garbage = "ls -l /nix/var/nix/gcroots/auto/ | sort";
vm = "vim";
2021-12-22 18:02:36 +01:00
};
2021-11-23 22:17:41 +01:00
}