Something went wrong. Try again.
nix and nixos configs forked from filemagic.tngl.sh/nix
Something went wrong. Try again.
1234567891011121314151617181920212223242526272829303132333435{ config, pkgs, lib, ...}: let homeDir = config.home.homeDirectory;in { programs.bash = { enable = true; shellAliases = { config = "sudo nixos-rebuild switch --flake ${homeDir}/Projects/tangled/nix"; update = '' sudo fwupdmgr update sudo nix-channel --update nix flake update sudo nixos-rebuild switch --flake ${homeDir}/Projects/tangled/nix nix-channel --update ''; # 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' # ''; k8s-build = "nix build ${homeDir}/Projects/tangled/nix/kubernetes#images && ls -lh ${homeDir}/Projects/tangled/nix/kubernetes/result/"; }; };}