diff --git a/configuration.nix b/configuration.nix index 22e96a2..ae14298 100644 --- a/configuration.nix +++ b/configuration.nix @@ -132,7 +132,7 @@ in # Enable touchpad support (enabled default in most desktopManager). # services.xserver.libinput.enable = true; - prorams.bash = { + options.prorams.bash = { interactiveShellInit = '' if [[ $(${pkgs.procps}/bin/ps --no-header --pid=$PPID --format=comm) != "fish" && -z ''${BASH_EXECUTION_STRING} ]] then diff --git a/nixos-switch.log b/nixos-switch.log index 41684cf..f999ba3 100644 --- a/nixos-switch.log +++ b/nixos-switch.log @@ -19,14 +19,7 @@ error: (stack trace truncated; use '--show-trace' to show the full trace) - error: The option `prorams' does not exist. Definition values: - - In `/etc/nixos/configuration.nix': - { - bash = { - interactiveShellInit = '' - if [[ $(/nix/store/ii2mdnlf5fvdsp03zcdml411f7mvlap8-procps-3.3.17/bin/ps --no-header --pid=$PPID --format=comm) != "fish" && -z ''${BASH_EXECUTION_STRING} ]] - then - ... + error: Module `/etc/nixos/configuration.nix' has an unsupported attribute `boot'. This is caused by introducing a top-level `config' or `options' attribute. Add configuration attributes immediately on the top level instead, or move all of them (namely: boot console environment fonts hardware home-manager i18n networking programs security services sound system time users) into the explicit `config' attribute. building Nix... error: … while evaluating the attribute 'config' @@ -49,14 +42,7 @@ error: (stack trace truncated; use '--show-trace' to show the full trace) - error: The option `prorams' does not exist. Definition values: - - In `/etc/nixos/configuration.nix': - { - bash = { - interactiveShellInit = '' - if [[ $(/nix/store/ii2mdnlf5fvdsp03zcdml411f7mvlap8-procps-3.3.17/bin/ps --no-header --pid=$PPID --format=comm) != "fish" && -z ''${BASH_EXECUTION_STRING} ]] - then - ... + error: Module `/etc/nixos/configuration.nix' has an unsupported attribute `boot'. This is caused by introducing a top-level `config' or `options' attribute. Add configuration attributes immediately on the top level instead, or move all of them (namely: boot console environment fonts hardware home-manager i18n networking programs security services sound system time users) into the explicit `config' attribute. building the system configuration... error: … while evaluating the attribute 'config.system.build.toplevel' @@ -79,11 +65,4 @@ error: (stack trace truncated; use '--show-trace' to show the full trace) - error: The option `prorams' does not exist. Definition values: - - In `/etc/nixos/configuration.nix': - { - bash = { - interactiveShellInit = '' - if [[ $(/nix/store/ii2mdnlf5fvdsp03zcdml411f7mvlap8-procps-3.3.17/bin/ps --no-header --pid=$PPID --format=comm) != "fish" && -z ''${BASH_EXECUTION_STRING} ]] - then - ... + error: Module `/etc/nixos/configuration.nix' has an unsupported attribute `boot'. This is caused by introducing a top-level `config' or `options' attribute. Add configuration attributes immediately on the top level instead, or move all of them (namely: boot console environment fonts hardware home-manager i18n networking programs security services sound system time users) into the explicit `config' attribute.