]> glassweightruler.freedombox.rocks Git - xdg-ninja.git/commitdiff
Merge pull request #321 from salarua/flatpak-update
authorb3nj5m1n <47924309+b3nj5m1n@users.noreply.github.com>
Mon, 9 Oct 2023 17:42:55 +0000 (19:42 +0200)
committerGitHub <noreply@github.com>
Mon, 9 Oct 2023 17:42:55 +0000 (19:42 +0200)
programs/ngrok.json [new file with mode: 0644]
programs/nix.json

diff --git a/programs/ngrok.json b/programs/ngrok.json
new file mode 100644 (file)
index 0000000..be0fb4f
--- /dev/null
@@ -0,0 +1,10 @@
+{
+    "name": "ngrok",
+    "files": [
+        {
+            "path": "$HOME/.ngrok2",
+            "movable": true,
+            "help": "Ngrok v3 uses the XDG spec.\n Update from v2 to v3 and run the following command to automatically relocate your configuration to __XDG_CONFIG_HOME__:\n\n```ngrok config upgrade --relocate```\n\nYou have to manually delete the old folder in your __HOME__ after that."
+        }
+    ]
+}
index 681aea035c6bf6ccb9dd8daadce3a014a4cc3b5b..d4cdcbeab5ff5665661b67fd5496d0f7503c5c70 100644 (file)
@@ -4,17 +4,17 @@
         {
             "path": "$HOME/.nix-channels",
             "movable": false,
-            "help": "New nix command line interface supports XDG Base Directory but Old Commands will still create these directories.\n\n_Relevant Issue_: https://github.com/NixOS/nix/issues/1079\n\n"
+            "help": "New nix command line interface supports XDG Base Directory but Old Commands will still create these directories.\n\nTo use the XDG spec with the old command line, add to `/etc/nix/nix.conf`:\n\n```use-xdg-base-directories = true```\n\nYou also have to manually move the the file to __XDG_STATE_HOME__:\n\n```mv \"$HOME/.nix-channels\" \"$XDG_STATE_HOME/nix/channels\"```\n\n_See the Manual_: https://nixos.org/manual/nix/stable/command-ref/conf-file#conf-use-xdg-base-directories\n\n"
         },
         {
             "path": "$HOME/.nix-defexpr",
             "movable": false,
-            "help": "New nix command line interface supports XDG Base Directory but Old Commands will still create these directories.\n\n_Relevant Issue_: https://github.com/NixOS/nix/issues/1079\n\n"
+            "help": "New nix command line interface supports XDG Base Directory but Old Commands will still create these directories.\n\nTo use the XDG spec with the old command line, add to `/etc/nix/nix.conf`:\n\n```use-xdg-base-directories = true```\n\nYou also have to manually move the the file to __XDG_STATE_HOME__:\n\n```mv \"$HOME/.nix-defexpr\" \"$XDG_STATE_HOME/nix/defexpr\"```\n\n_See the Manual_: https://nixos.org/manual/nix/stable/command-ref/conf-file#conf-use-xdg-base-directories\n\n"
         },
         {
             "path": "$HOME/.nix-profile",
             "movable": false,
-            "help": "New nix command line interface supports XDG Base Directory but Old Commands will still create these directories.\n\n_Relevant Issue_: https://github.com/NixOS/nix/issues/1079\n\n"
+            "help": "New nix command line interface supports XDG Base Directory but Old Commands will still create these directories.\n\nTo use the XDG spec with the old command line, add to `/etc/nix/nix.conf`:\n\n```use-xdg-base-directories = true```\n\nYou also have to manually move the the file to __XDG_STATE_HOME__:\n\n```mv \"$HOME/.nix-profile\" \"$XDG_STATE_HOME/nix/profile\"```\n\n_See the Manual_: https://nixos.org/manual/nix/stable/command-ref/conf-file#conf-use-xdg-base-directories\n\n"
         }
     ]
 }