about summary refs log tree commit diff stats
path: root/pkgs/by-name/vi/virsh-del
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2025-03-29 12:13:36 +0100
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2025-03-29 12:15:27 +0100
commit3d8beddc59f052dbd1e17323acf07a847d203bd4 (patch)
treee2f67478cf415a847a733ee8fcfe300c88713e97 /pkgs/by-name/vi/virsh-del
parentfix(modules/legacy/conf/mail/git-credential-helper): Exit cleanly if password... (diff)
downloadnixos-config-3d8beddc59f052dbd1e17323acf07a847d203bd4.zip
refactor(pkgs/{yti,spodi,git-cleanup,nato,sort_song,virsh-del}): Remove
I have not used one of these commands in the last 8 months.
Diffstat (limited to '')
-rw-r--r--pkgs/by-name/vi/virsh-del/package.nix13
-rwxr-xr-xpkgs/by-name/vi/virsh-del/virsh-del.sh10
2 files changed, 0 insertions, 23 deletions
diff --git a/pkgs/by-name/vi/virsh-del/package.nix b/pkgs/by-name/vi/virsh-del/package.nix
deleted file mode 100644
index 3f27e2be..00000000
--- a/pkgs/by-name/vi/virsh-del/package.nix
+++ /dev/null
@@ -1,13 +0,0 @@
-{
-  sysLib,
-  libvirt,
-}:
-sysLib.writeShellScript {
-  name = "virsh-del";
-  src = ./virsh-del.sh;
-  generateCompletions = false;
-  keepPath = false;
-  dependencies = [
-    libvirt
-  ];
-}
diff --git a/pkgs/by-name/vi/virsh-del/virsh-del.sh b/pkgs/by-name/vi/virsh-del/virsh-del.sh
deleted file mode 100755
index c3de5484..00000000
--- a/pkgs/by-name/vi/virsh-del/virsh-del.sh
+++ /dev/null
@@ -1,10 +0,0 @@
-#! /usr/bin/env dash
-
-# shellcheck source=/dev/null
-SHELL_LIBRARY_VERSION="2.1.2" . %SHELL_LIBRARY_PATH
-
-virsh destroy "$1"
-virsh undefine "$1" --nvram
-virsh vol-delete --pool default "$1".qcow2
-
-# vim: ft=sh