nixos/home/work.nix

16 lines
604 B
Nix
Raw Normal View History

{...}: {
imports = [./default.nix ./git/work.nix ./ssh/work.nix];
programs.fish.functions.arch = ''
distrobox list | grep -i archlinux > /dev/null || distrobox create -n arch -i docker.io/library/archlinux:latest -y
distrobox enter arch
'';
programs.fish.functions.nvsync = ''
rsync -avz --filter=':- .gitignore' --exclude='.git*'\
--delete-during --delete-excluded\
$HOME/.config/nvim/ heimdall003.jet.uk:.config/nvim
rsync -avz --filter=':- .gitignore' --exclude='.git*'\
--delete-during --delete-excluded\
$HOME/.config/nvim/ freia:.config/nvim
'';
}