Add fish function to start archlinux distrobox quickly

This commit is contained in:
Evie Litherland-Smith 2023-06-13 13:19:50 +01:00
parent df55af2831
commit 6353d21498

View file

@ -1,4 +1,8 @@
{pkgs, ...}: {
imports = [./default.nix ./git/work.nix ./ssh/work.nix];
home.packages = with pkgs; [openfortivpn nomachine-client teams zoom-us];
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
'';
}