2023-04-14 20:51:52 +00:00
|
|
|
# cli programs should be available on servers and desktop
|
|
|
|
{ lib, pkgs, ... }:
|
|
|
|
|
|
|
|
{
|
|
|
|
programs = {
|
|
|
|
mosh.enable = true;
|
|
|
|
neovim = {
|
|
|
|
enable = true;
|
|
|
|
viAlias = true;
|
|
|
|
vimAlias = true;
|
|
|
|
};
|
|
|
|
ssh.startAgent = true;
|
2023-05-11 14:03:37 +00:00
|
|
|
starship = {
|
|
|
|
enable = true;
|
|
|
|
settings = with builtins; fromTOML (readFile ../configs/starship.toml);
|
|
|
|
};
|
2023-04-14 20:51:52 +00:00
|
|
|
zsh = {
|
|
|
|
enable = true;
|
|
|
|
autosuggestions.enable = true;
|
|
|
|
shellAliases = {
|
2023-05-11 14:03:37 +00:00
|
|
|
ls = "ls --hyperlink=auto";
|
|
|
|
nixedit = "codium /etc/nixos";
|
2023-04-14 20:51:52 +00:00
|
|
|
nixupdate = "sudo nixos-rebuild switch";
|
|
|
|
nixclean = "sudo nix-env --delete-generations old --profile /nix/var/nix/profiles/system && sudo /nix/var/nix/profiles/system/bin/switch-to-configuration switch && sudo nix-store --gc";
|
|
|
|
};
|
2023-06-19 12:52:25 +00:00
|
|
|
shellInit = "cd ~/Developpements;";
|
2023-04-14 20:51:52 +00:00
|
|
|
ohMyZsh = {
|
|
|
|
enable = true;
|
|
|
|
plugins = [ "git" ];
|
|
|
|
theme = "robbyrussell";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
# List packages installed in system profile. To search, run:
|
|
|
|
# $ nix search wget
|
|
|
|
environment.systemPackages = with pkgs; [
|
2023-07-16 09:44:31 +00:00
|
|
|
ansible
|
2023-04-14 20:51:52 +00:00
|
|
|
bat
|
|
|
|
bitwarden-cli
|
|
|
|
coreutils
|
|
|
|
curl
|
|
|
|
dnsutils
|
|
|
|
emacs-nox
|
|
|
|
findutils
|
|
|
|
gnugrep
|
|
|
|
gnupg
|
|
|
|
imagemagick
|
|
|
|
jq
|
|
|
|
git
|
|
|
|
glances
|
|
|
|
htop
|
|
|
|
mc
|
|
|
|
micro
|
|
|
|
mosh
|
|
|
|
neofetch
|
|
|
|
pandoc
|
2023-07-16 09:44:31 +00:00
|
|
|
pass
|
2023-06-19 12:52:25 +00:00
|
|
|
pciutils
|
2023-07-16 09:44:31 +00:00
|
|
|
pinentry
|
2023-04-14 20:51:52 +00:00
|
|
|
starship
|
|
|
|
tmux
|
|
|
|
tree
|
|
|
|
unzip
|
2023-06-19 12:52:25 +00:00
|
|
|
usbutils
|
2023-04-14 20:51:52 +00:00
|
|
|
wget
|
2023-06-19 12:52:25 +00:00
|
|
|
whois
|
|
|
|
wirelesstools
|
2023-04-14 20:51:52 +00:00
|
|
|
zola
|
|
|
|
zsh-autosuggestions
|
|
|
|
];
|
|
|
|
}
|