From 02a7dbbb9c26ba2da5cc373f089a3a1f407316a6 Mon Sep 17 00:00:00 2001 From: File Magic Date: Tue, 2 Jun 2026 23:50:13 -0400 Subject: [PATCH] home.nix: add shellAliases --- home.nix | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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 = { -- 2.51.2