]> glassweightruler.freedombox.rocks Git - xdg-ninja.git/blob - programs/nix.json
Flake cleanup and make usable in a system configuration (#316)
[xdg-ninja.git] / programs / nix.json
1 {
2 "name": "nix",
3 "files": [
4 {
5 "path": "$HOME/.nix-channels",
6 "movable": false,
7 "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"
8 },
9 {
10 "path": "$HOME/.nix-defexpr",
11 "movable": false,
12 "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"
13 },
14 {
15 "path": "$HOME/.nix-profile",
16 "movable": false,
17 "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"
18 }
19 ]
20 }