about summary refs log tree commit diff
path: root/home/modules/development/urbint.nix
diff options
context:
space:
mode:
Diffstat (limited to 'home/modules/development/urbint.nix')
-rw-r--r--home/modules/development/urbint.nix14
1 files changed, 4 insertions, 10 deletions
diff --git a/home/modules/development/urbint.nix b/home/modules/development/urbint.nix
index 4bf39b656f58..63f92bf50d4e 100644
--- a/home/modules/development/urbint.nix
+++ b/home/modules/development/urbint.nix
@@ -25,16 +25,10 @@ in
       amerge = "alembic merge heads";
     };
 
-    initExtra = ''
-      # Alembic {{{
-      function aup() {
-        alembic upgrade ''${1:-head}
-      }
-
-      function adown() {
-        alembic downgrade ''${1:--1}
-      }
-    '';
+    functions = {
+      aup = "alembic upgrade \${1:-head}";
+      adown = "alembic downgrade \${1:--1}";
+    };
   };
 
   programs.git = {