update nixPath

This commit is contained in:
illustris 2022-07-25 17:59:31 +05:30
parent f2873a0cd7
commit a505cebc2c

View File

@ -118,23 +118,6 @@ in
}; };
}; };
#programs.bash = {
# interactiveShellInit = ''
# export HISTSIZE=-1 HISTFILESIZE=-1 HISTCONTROL=ignoreboth:erasedups;
# '';
# shellAliases = {
# genpass = "cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 20 | head -n 2";
# };
# promptInit = ''
# if [ "$TERM" != "dumb" -o -n "$INSIDE_EMACS" ]; then
# PROMPT_COLOR="1;31m"
# let $UID && PROMPT_COLOR="1;36m"
# PS1="\[\033[$PROMPT_COLOR\][\[\e]0;\u@\h: \w\a\]\u@\h:\w]\\$\[\033[0m\] "
# fi
# '';
#};
programs = { programs = {
adb.enable = true; adb.enable = true;
bash = { bash = {
@ -202,10 +185,7 @@ in
extraOptions = '' extraOptions = ''
experimental-features = nix-command flakes experimental-features = nix-command flakes
''; '';
nixPath = [ nixPath = [ "nixpkgs=${pkgs.path}" ];
"nixpkgs=${pkgs.path}"
"nixos-config=/etc/nixos/configuration.nix"
];
settings = { settings = {
trusted-users = [ "root" "illustris" ]; trusted-users = [ "root" "illustris" ];
auto-optimise-store = true; auto-optimise-store = true;