Add fish function to start archlinux distrobox quickly
This commit is contained in:
parent
df55af2831
commit
6353d21498
|
@ -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
|
||||
'';
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue