mirror of
https://github.com/nix-community/nix-on-droid.git
synced 2025-11-08 19:46:07 +01:00
If a shell is not started via login-inner (e.g. via ssh) it will not source the sessionInit script. The solution is to source this file in the respective config files for bash and zsh (more shell support can be easily added). The -u option is not necessary for the few lines in login-inner and should not be activated after sourcing sessionInit in bash or zsh setup.
23 lines
580 B
Nix
23 lines
580 B
Nix
# Copyright (c) 2019-2021, see AUTHORS. Licensed under MIT License, see LICENSE.
|
|
|
|
{ pkgs, isFlake }:
|
|
|
|
[
|
|
./build/activation.nix
|
|
./build/config.nix
|
|
./environment/ca.nix
|
|
./environment/etc
|
|
./environment/links.nix
|
|
./environment/login
|
|
./environment/networking.nix
|
|
./environment/nix.nix
|
|
./environment/path.nix
|
|
./environment/session-init.nix
|
|
./environment/shell.nix
|
|
./home-manager.nix
|
|
./nixpkgs/options.nix
|
|
./time.nix
|
|
./user.nix
|
|
./version.nix
|
|
(pkgs.path + "/nixos/modules/misc/assertions.nix")
|
|
] ++ pkgs.lib.optionals (!isFlake) [ ./nixpkgs/config.nix ]
|