Skip to content

Latest commit

 

History

History
50 lines (37 loc) · 2.03 KB

File metadata and controls

50 lines (37 loc) · 2.03 KB
# generic usage of autocompletion with your system nixpkgs
nix run --override-input nixpkgs nixpkgs github:barsikus007/config?dir=nix# <tab>

coolvm example for non NixOS

user passwd is 0

nix --extra-experimental-features "nix-command flakes" run --impure 'github:nix-community/nixGL' -- nix --extra-experimental-features "nix-command flakes pipe-operators" run --impure --override-input nixpkgs nixpkgs 'github:barsikus007/config?dir=nix'
  • on WSL Ubuntu disable pipewire QEMU section and launch with pulseaudio
    • -audiodev pa,id=snd0,server=/mnt/wslg/PulseServer -device intel-hda -device hda-output,audiodev=snd0
nix run --impure --override-input nixpkgs nixpkgs 'github:barsikus007/config?dir=nix#kompas3d-fhs'
# on non NixOS
nix --extra-experimental-features "nix-command flakes" run --impure --override-input nixpkgs nixpkgs 'github:nix-community/nixGL' -- env NIXPKGS_ALLOW_UNFREE=1 nix run --impure --override-input nixpkgs nixpkgs 'github:barsikus007/config?dir=nix#kompas3d-fhs'

cleanup after store paths update

rm ~/.config/ascon/KOMPAS-3D/24/{recent_files.xml,KOMPAS.kit.config}

grdcontrol license service forwarding

# launch on computer with enough system parts (remote) lol
sudo NIXPKGS_ALLOW_UNFREE=1 nix --extra-experimental-features "nix-command flakes" run --impure --override-input nixpkgs nixpkgs 'github:barsikus007/config?dir=nix#grdcontrol'
# launch on computer with kompas (client)
socat TCP-LISTEN:3189,bind=127.0.0.1,fork TCP:<remote_ip>:3189