about summary refs log tree commit diff stats
path: root/home-manager/packages/scripts.nix
diff options
context:
space:
mode:
Diffstat (limited to 'home-manager/packages/scripts.nix')
-rw-r--r--home-manager/packages/scripts.nix8
1 files changed, 7 insertions, 1 deletions
diff --git a/home-manager/packages/scripts.nix b/home-manager/packages/scripts.nix
index b4354d82..af9983c5 100644
--- a/home-manager/packages/scripts.nix
+++ b/home-manager/packages/scripts.nix
@@ -42,7 +42,12 @@
   mocs-scr = write_script {
     name = "mocs";
     path = "small_functions";
-    dependencies = builtins.attrValues {inherit (pkgs) moc procps;}; # TODO add mymocp
+    dependencies = builtins.attrValues {inherit (pkgs) nmcpc procps;}; # TODO add mymocp
+  };
+  update-scr = write_script {
+    name = "update";
+    path = "small_functions";
+    dependencies = builtins.attrValues {inherit (pkgs) git nixos-rebuild;};
   };
 
   backsnap-scr = write_script {
@@ -82,6 +87,7 @@ in [
   gtk-themes-scr
   screen_shot-scr
   mocs-scr
+  update-scr
   backsnap-scr
   ll-scr
   # llp-scr # TODO see above