about summary refs log tree commit diff stats
path: root/pkgs/by-name/up/update-sys/package.nix
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--pkgs/by-name/up/update-sys/package.nix29
1 files changed, 29 insertions, 0 deletions
diff --git a/pkgs/by-name/up/update-sys/package.nix b/pkgs/by-name/up/update-sys/package.nix
new file mode 100644
index 00000000..8777f82d
--- /dev/null
+++ b/pkgs/by-name/up/update-sys/package.nix
@@ -0,0 +1,29 @@
+{
+  sysLib,
+  git,
+  nixos-rebuild,
+  sudo,
+  openssh,
+  coreutils,
+  mktemp,
+  gnugrep,
+  gnused,
+  systemd,
+}:
+sysLib.writeShellScript {
+  name = "update-sys";
+  src = ./update-sys.sh;
+  generateCompletions = true;
+  keepPath = false;
+  dependencies = [
+    git
+    nixos-rebuild
+    sudo
+    openssh
+    coreutils
+    mktemp
+    gnugrep
+    gnused
+    systemd
+  ];
+}