Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update README.md #308

Merged
merged 2 commits into from
Feb 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,13 +74,13 @@ An alternative location is `~/.config/nixpkgs/config.nix` with the key

See <https://nix-community.github.io/nix-on-droid/> for list of all available options.

### [`home-manager`](https://github.com/rycee/home-manager) integration
### [`home-manager`](https://github.com/nix-community/home-manager) integration

To enable `home-manager` you simply need to follow the instructions already provided in the example `nix-on-droid.nix`:

1. Add `home-manager` channel:
```sh
nix-channel --add https://github.com/rycee/home-manager/archive/release-23.05.tar.gz home-manager
nix-channel --add https://github.com/nix-community/home-manager/archive/release-23.05.tar.gz home-manager
nix-channel --update
```
2. Configure `home-manager`:
Expand Down
2 changes: 1 addition & 1 deletion modules/environment/login/nix-on-droid.nix.default
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
#time.timeZone = "Europe/Berlin";

# After installing home-manager channel like
# nix-channel --add https://github.com/rycee/home-manager/archive/release-23.05.tar.gz home-manager
# nix-channel --add https://github.com/nix-community/home-manager/archive/release-23.05.tar.gz home-manager
# nix-channel --update
# you can configure home-manager in here like
#home-manager = {
Expand Down
4 changes: 2 additions & 2 deletions tests/on-device/config-h-m.bats
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2019-2023, see AUTHORS. Licensed under MIT License, see LICENSE.
# Copyright (c) 2019-2024, see AUTHORS. Licensed under MIT License, see LICENSE.

load lib

Expand All @@ -21,7 +21,7 @@ teardown() {
[[ ! -e ~/.config/example ]]

# set up / build / activate the configuration
nix-channel --add https://github.com/rycee/home-manager/archive/release-23.05.tar.gz home-manager
nix-channel --add https://github.com/nix-community/home-manager/archive/release-23.05.tar.gz home-manager
nix-channel --update
cp "$ON_DEVICE_TESTS_DIR/config-h-m.nix" ~/.config/nixpkgs/nix-on-droid.nix
nix-on-droid switch
Expand Down
Loading