diff --git a/home.nix b/home.nix index 0ef46f9..39787c2 100644 --- a/home.nix +++ b/home.nix @@ -242,9 +242,12 @@ bash = { enable = true; shellAliases = { - "config" = "sudo nixos-rebuild switch --flake .; home-manager switch --flake ."; + "config" = + "sudo nixos-rebuild switch --flake ~/Projects/github/dotfiles; home-manager switch --flake ~/Projects/github/dotfiles"; "update" = - "sudo nix-channel --update; sudo nixos-rebuild switch --upgrade --flake .; nix flake update; home-manager switch --flake ."; + "sudo nix-channel --update; sudo nixos-rebuild switch --upgrade --flake ~/Projects/github/dotfiles; nix flake update; home-manager switch --flake ~/Projects/github/dotfiles"; + "start-virtual-camera" = + "gphoto2 --stdout --capture-movie | gst-launch-1.0 fdsrc fd=0 ! jpegparse ! jpegdec ! videoconvert ! video/x-raw,format=YUY2 ! pipewiresink mode=provide stream-properties='properties,media.class=Video/Source,media.role=Camera' client-name='DSLR Virtual Camera'"; }; }; git = {