Commit graph

13 commits

Author SHA1 Message Date
Alexander Sosedkin
039379abee move from github:t184256/ to github:nix-community/ 2023-09-13 13:35:41 +02:00
Tobias Happ
ae0569fb92 treewide: use consitent casing of Nix-on-Droid/nix-on-droid
Whenever Nix-on-Droid references the project or application it should be
upper-cased.

When nix-on-droid is referencing the CLI-tool or is used as some ID, it
should be lower-cased.
2022-11-20 20:15:31 +01:00
Tobias Happ
b76fb0954e treewide: improve option descriptions 2022-11-20 20:15:31 +01:00
Tobias Happ
ffac515cfb environment.motd: add option 2022-11-08 20:29:52 +01:00
Tobias Happ
7d1ed0fbaa treewide: apply nixpkgs-fmt 2022-10-04 00:43:13 +02:00
Tobias Happ
7e00a63733 session-init: consistently use the config for resolving home directory
It is not helpful to switch between `$HOME` and the config option for
resolving the path of the home directory.
2021-12-15 22:42:54 +01:00
Tobias Happ
bb8470da1d session-init: only add to NIX_PATH if value is not present yet 2021-12-15 22:42:54 +01:00
Zhong Jianxin
543c3bfdee Remove set +u/-u
Lots of zsh plugins fail to load when login via sshd:

```
$ ssh -p 8022 nix-on-droid@192.168.0.1
(eval):28: __zoxide_hooked: parameter not set
(eval):8: precmd_functions[(r)_direnv_hook]: parameter not set
async_init:1: ASYNC_INIT_DONE: parameter not set
prompt_pure_setup:10: prompt_newline: parameter not set
/nix/store/drwh7ngjshx794jvrvfvaz7wacjhkywi-zsh-fast-syntax-highlighting-1.54/share/zsh/site-functions/fast-syntax-highlighting.plugin.zsh:48: ZPLG_CUR_PLUGIN: parameter not set
```
2021-12-15 22:42:54 +01:00
Tobias Happ
7b9ba13632 session-init: add support for nix 2.4
See https://github.com/NixOS/nixpkgs/issues/149791.
2021-12-11 22:44:53 +01:00
Tobias Happ
4017e1f700 Add source nix.sh and hm-session-vars.sh in session-init.sh 2020-04-23 18:54:56 +02:00
Alexander Sosedkin
ad7345897f Relicense to MIT License
Fixes: https://github.com/t184256/nix-on-droid-bootstrap/issues/44
2020-01-09 22:04:22 +01:00
Tobias Happ
a1c91e7753 Add LOCALE_ARCHIVE env variable 2020-01-07 05:14:30 +01:00
Tobias Happ
1e2f21748a Add environment variable management 2020-01-07 05:14:30 +01:00