mirror of
https://github.com/sstent/vmimages.git
synced 2026-01-26 15:12:14 +00:00
fixed _nomad completes, update to latest, added 'rebuild test' to jsutfiles
This commit is contained in:
@@ -1,8 +1,6 @@
|
||||
bootstrap-repos:
|
||||
mr --trust-all bootstrap /run/user/1000/secrets/mrconfig
|
||||
|
||||
|
||||
|
||||
update-secret-mr:
|
||||
#!/usr/bin/env bash
|
||||
cd ~/vmimages
|
||||
@@ -31,6 +29,16 @@ rebuild_home:
|
||||
home-manager switch --flake /home/sstent/vmimages/.
|
||||
systemctl --user restart sops-nix
|
||||
|
||||
rebuild_host_test:
|
||||
sudo nixos-rebuild test --flake /home/sstent/vmimages/.#${HOSTNAME}
|
||||
|
||||
rebuild_home_test:
|
||||
home-manager test --flake /home/sstent/vmimages/.
|
||||
systemctl --user restart sops-nix
|
||||
|
||||
nix_list_generations:
|
||||
sudo nix-env --list-generations -p /nix/var/nix/profiles/system
|
||||
|
||||
nomad_run SERVICE:
|
||||
nomad run ~/projects/nomad/nomad_jobs/enabled/{{SERVICE}}.nomad
|
||||
nomad_purge SERVICE:
|
||||
@@ -44,6 +52,8 @@ nomad_exec_bash SERVICE:
|
||||
nomad_exec_sh SERVICE:
|
||||
ID=$(nomad status {{SERVICE}} | grep "running" | grep "{{SERVICE}}" | head -n 1| awk '{print $1}'); nomad alloc exec -task {{SERVICE}} -t ${ID} /bin/sh
|
||||
|
||||
|
||||
|
||||
run_nicotine:
|
||||
mullvad connect
|
||||
nix-shell -p nicotine-plus --command nicotine-plus
|
||||
|
||||
Reference in New Issue
Block a user