refactor
This commit is contained in:
parent
dbd88aea66
commit
8fbd9d06b4
29 changed files with 130 additions and 101 deletions
49
mod/common/shell.nix
Normal file
49
mod/common/shell.nix
Normal file
|
|
@ -0,0 +1,49 @@
|
|||
{ pkgs, inputs, ... }:
|
||||
{
|
||||
environment.shells = with pkgs; [
|
||||
bashInteractive
|
||||
fish
|
||||
];
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
bc
|
||||
docker-compose
|
||||
fd
|
||||
gh
|
||||
htop
|
||||
killall
|
||||
ripgrep
|
||||
starship
|
||||
stow
|
||||
unzip
|
||||
wget
|
||||
wl-clipboard
|
||||
inputs.colmena.packages."x86_64-linux".colmena # todo use overlay
|
||||
];
|
||||
|
||||
programs = {
|
||||
fish.enable = true;
|
||||
git.enable = true;
|
||||
tmux = {
|
||||
enable = true;
|
||||
clock24 = true;
|
||||
};
|
||||
neovim = {
|
||||
enable = true;
|
||||
defaultEditor = true;
|
||||
viAlias = true;
|
||||
vimAlias = true;
|
||||
};
|
||||
};
|
||||
|
||||
# --- Excludes ---
|
||||
programs.nano.enable = false;
|
||||
|
||||
# Enabled by fish but takes soooo long.
|
||||
# This is apparently used by some of fish's
|
||||
# autocomplete features.
|
||||
documentation.man.generateCaches = false;
|
||||
|
||||
# To stop the annoying error on entering wrong commands
|
||||
programs.command-not-found.enable = false;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue