From a505cebc2c76170a9340ca393706ff02d4c69362 Mon Sep 17 00:00:00 2001 From: illustris Date: Mon, 25 Jul 2022 17:59:31 +0530 Subject: [PATCH] update nixPath --- configuration.nix | 22 +--------------------- 1 file changed, 1 insertion(+), 21 deletions(-) diff --git a/configuration.nix b/configuration.nix index 842318e..4ed07bf 100644 --- a/configuration.nix +++ b/configuration.nix @@ -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 = { adb.enable = true; bash = { @@ -202,10 +185,7 @@ in extraOptions = '' experimental-features = nix-command flakes ''; - nixPath = [ - "nixpkgs=${pkgs.path}" - "nixos-config=/etc/nixos/configuration.nix" - ]; + nixPath = [ "nixpkgs=${pkgs.path}" ]; settings = { trusted-users = [ "root" "illustris" ]; auto-optimise-store = true;