Jul 18 14:51:43 hostname hm-activate-user[2691]: Starting Home Manager activation
Jul 18 14:51:43 hostname hm-activate-user[2691]: Activating checkFilesChanged
Jul 18 14:51:43 hostname hm-activate-user[2691]: Activating checkLinkTargets
Jul 18 14:51:43 hostname hm-activate-user[2938]: Existing file '/home/user/.bashrc' is in the way of '/nix/store/ax6202zpsiwwfdl9x11s0faikcysdxwp-home-manager-files/.bashrc'
Jul 18 14:51:43 hostname hm-activate-user[2938]: Please do one of the following:
Jul 18 14:51:43 hostname hm-activate-user[2938]: - Move or remove the above files and try again.
Jul 18 14:51:43 hostname hm-activate-user[2938]: - In standalone mode, use 'home-manager switch -b backup' to back up
Jul 18 14:51:43 hostname hm-activate-user[2938]: files automatically.
Jul 18 14:51:43 hostname hm-activate-user[2938]: - When used as a NixOS or nix-darwin module, set
Jul 18 14:51:43 hostname hm-activate-user[2938]: 'home-manager.backupFileExtension'
Jul 18 14:51:43 hostname hm-activate-user[2938]: to, for example, 'backup' and rebuild.
Jul 18 14:51:41 hostname systemd[1]: Starting Home Manager environment for user...
░░ Subject: A start job for unit home-manager-user.service has begun execution
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░
░░ A start job for unit home-manager-user.service has begun execution.
░░
░░ The job identifier is 102.
Jul 18 14:51:42 hostname systemd[1]: home-manager-user.service: Main process exited, code=exited, status=1/FAILURE
░░ Subject: Unit process exited
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░
░░ An ExecStart= process belonging to unit home-manager-user.service has exited.
░░
░░ The process' exit code is 'exited' and its exit status is 1.
Jul 18 14:51:42 hostname systemd[1]: home-manager-user.service: Failed with result 'exit-code'.
░░ Subject: Unit failed
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░
░░ The unit home-manager-user.service has entered the 'failed' state with result 'exit-code'.
Jul 18 14:51:42 hostname systemd[1]: Failed to start Home Manager environment for user.
░░ Subject: A start job for unit home-manager-user.service has failed
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░
░░ A start job for unit home-manager-user.service has finished with a failure.
░░
░░ The job identifier is 102 and the job result is failed.
[user@hostname:/etc/nixos]$ home-manager switch
Starting Home Manager activation
Activating checkFilesChanged
Activating checkLinkTargets
Activating writeBoundary
Activating installPackages
nix profile remove /nix/store/icqdaf93amhwgr6jpiyh338pindqscsk-home-manager-path
removing 'home-manager-path'
Activating linkGeneration
Cleaning up orphan links from /home/user
No change so reusing latest profile generation 1
Creating home file links in /home/user
Activating onFilesChange
Activating reloadSystemd
The user systemd session is degraded:
UNIT LOAD ACTIVE SUB DESCRIPTION
● waybar.service not-found failed failed waybar.service
Legend: LOAD → Reflects whether the unit definition was properly loaded.
ACTIVE → The high-level unit activation state, i.e. generalization of SUB.
SUB → The low-level unit activation state, values depend on unit type.
1 loaded units listed.
Attempting to reload services anyway...
There are 162 unread and relevant news items.
Read them by running the command "home-manager news".
[user@hostname:~/.nix-profile]$ sudo nixos-rebuild switch
error:
… while calling the 'seq' builtin
at /nix/store/sj9yrq21wbbfr5715hys3laa2qd6x471-source/lib/modules.nix:322:18:
321| options = checked options;
322| config = checked (removeAttrs config [ "_module" ]);
| ^
323| _module = checked (config._module);
… while calling the 'throw' builtin
at /nix/store/sj9yrq21wbbfr5715hys3laa2qd6x471-source/lib/modules.nix:298:18:
297| ''
298| else throw baseMsg
| ^
299| else null;
error: The option `home-manager' does not exist. Definition values:
- In `/nix/store/0yq0cdar3hhak1j8qidx8wxj60n25f1p-source/configuration.nix':
{
users = {
user = <function, args: {pkgs}>;
};
}
[user@hostname:~]$ sudo nvim /etc/nixos/configuration.nix
[sudo] password for user:
[user@hostname:~]$ sudo nixos-rebuild switch
error:
… while calling the 'seq' builtin
at /nix/store/sj9yrq21wbbfr5715hys3laa2qd6x471-source/lib/modules.nix:322:18:
321| options = checked options;
322| config = checked (removeAttrs config [ "_module" ]);
| ^
323| _module = checked (config._module);
… while evaluating a branch condition
at /nix/store/sj9yrq21wbbfr5715hys3laa2qd6x471-source/lib/modules.nix:261:9:
260| checkUnmatched =
261| if config._module.check && config._module.freeformType == null && merged.unmatchedDefns != [] then
| ^
262| let
(stack trace truncated; use '--show-trace' to show the full trace)
error: cannot look up '<home-manager/nixos>' in pure evaluation mode (use '--impure' to override)
at «none»:0: (source not available)
[user@hostname:~]$ sudo nixos-rebuild switch --show-trace
error: cached failure of attribute 'nixosConfigurations.hostname.config'
[user@hostname:~]$ sudo nixos-rebuild switch --show-trace --verbose
$ sudo cat /proc/sys/kernel/hostname
$ nix --extra-experimental-features nix-command flakes build --out-link /tmp/nixos-rebuild.WGWczI/nixos-rebuild /etc/nixos#nixosConfigurations."hostname".config.system.build.nixos-rebuild --show-trace --verbose
error: cached failure of attribute 'nixosConfigurations.hostname.config'
[user@hostname:~]$ nix flake update
error (ignored): error: reached end of FramedSource
error:
… while fetching the input 'path:/home/user'
error: file '/home/user/.config/qBittorrent/ipc-socket' has an unsupported type
[user@hostname:~]$ sudo nixos-rebuild switch --flake .#
error:
… while fetching the input 'path:/home/user'
error: file '/home/user/.config/qBittorrent/ipc-socket' has an unsupported type
[user@hostname:~]$ sudo nvim /etc/nixos/configuration.nix
[user@hostname:~]$ sudo nixos-rebuild switch --flake .#
error:
… while fetching the input 'path:/home/user'
error: file '/home/user/.config/qBittorrent/ipc-socket' has an unsupported type
[user@hostname:~]$ sudo nixos-rebuild switch --show-trace --verbose
$ sudo cat /proc/sys/kernel/hostname
$ nix --extra-experimental-features nix-command flakes build --out-link /tmp/nixos-rebuild.dyphAM/nixos-rebuild /etc/nixos#nixosConfigurations."hostname".config.system.build.nixos-rebuild --show-trace --verbose
error:
… while calling the 'seq' builtin
at /nix/store/sj9yrq21wbbfr5715hys3laa2qd6x471-source/lib/modules.nix:322:18:
321| options = checked options;
322| config = checked (removeAttrs config [ "_module" ]);
| ^
323| _module = checked (config._module);
… while evaluating a branch condition
at /nix/store/sj9yrq21wbbfr5715hys3laa2qd6x471-source/lib/modules.nix:261:9:
260| checkUnmatched =
261| if config._module.check && config._module.freeformType == null && merged.unmatchedDefns != [] then
| ^
262| let
… in the left operand of the AND (&&) operator
at /nix/store/sj9yrq21wbbfr5715hys3laa2qd6x471-source/lib/modules.nix:261:72:
260| checkUnmatched =
261| if config._module.check && config._module.freeformType == null && merged.unmatchedDefns != [] then
| ^
262| let
… in the left operand of the AND (&&) operator
at /nix/store/sj9yrq21wbbfr5715hys3laa2qd6x471-source/lib/modules.nix:261:33:
260| checkUnmatched =
261| if config._module.check && config._module.freeformType == null && merged.unmatchedDefns != [] then
| ^
262| let
… while evaluating a branch condition
at /nix/store/sj9yrq21wbbfr5715hys3laa2qd6x471-source/lib/modules.nix:254:12:
253|
254| in if declaredConfig._module.freeformType == null then declaredConfig
| ^
255| # Because all definitions that had an associated option ended in
… from call site
at /nix/store/sj9yrq21wbbfr5715hys3laa2qd6x471-source/lib/modules.nix:242:28:
241| # For definitions that have an associated option
242| declaredConfig = mapAttrsRecursiveCond (v: ! isOption v) (_: v: v.value) options;
| ^
243|
… while calling 'mapAttrsRecursiveCond'
at /nix/store/sj9yrq21wbbfr5715hys3laa2qd6x471-source/lib/attrsets.nix:1201:5:
1200| f:
1201| set:
| ^
1202| let
… from call site
at /nix/store/sj9yrq21wbbfr5715hys3laa2qd6x471-source/lib/modules.nix:234:33:
233| ({ inherit lib options config specialArgs; } // specialArgs);
234| in mergeModules prefix (reverseList collected);
| ^
235|
… while calling 'reverseList'
at /nix/store/sj9yrq21wbbfr5715hys3laa2qd6x471-source/lib/lists.nix:1116:17:
1115| */
1116| reverseList = xs:
| ^
1117| let l = length xs; in genList (n: elemAt xs (l - n - 1)) l;
… from call site
at /nix/store/sj9yrq21wbbfr5715hys3laa2qd6x471-source/lib/modules.nix:229:25:
228| merged =
229| let collected = collectModules
| ^
230| class
… while calling anonymous lambda
at /nix/store/sj9yrq21wbbfr5715hys3laa2qd6x471-source/lib/modules.nix:445:37:
444|
445| in modulesPath: initialModules: args:
| ^
446| filterModules modulesPath (collectStructuredModules unknownModule "" initialModules args);
… from call site
at /nix/store/sj9yrq21wbbfr5715hys3laa2qd6x471-source/lib/modules.nix:446:7:
445| in modulesPath: initialModules: args:
446| filterModules modulesPath (collectStructuredModules unknownModule "" initialModules args);
| ^
447|
… while calling 'filterModules'
at /nix/store/sj9yrq21wbbfr5715hys3laa2qd6x471-source/lib/modules.nix:413:36:
412| # modules recursively. It returns the final list of unique-by-key modules
413| filterModules = modulesPath: { disabled, modules }:
| ^
414| let
… while calling anonymous lambda
at /nix/store/sj9yrq21wbbfr5715hys3laa2qd6x471-source/lib/modules.nix:439:31:
438| disabledKeys = concatMap ({ file, disabled }: map (moduleKey file) disabled) disabled;
439| keyFilter = filter (attrs: ! elem attrs.key disabledKeys);
| ^
440| in map (attrs: attrs.module) (builtins.genericClosure {
… from call site
at /nix/store/sj9yrq21wbbfr5715hys3laa2qd6x471-source/lib/modules.nix:400:22:
399| let
400| module = checkModule (loadModule args parentFile "${parentKey}:anon-${toString n}" x);
| ^
401| collectedImports = collectStructuredModules module._file module.key module.imports args;
… while calling anonymous lambda
at /nix/store/sj9yrq21wbbfr5715hys3laa2qd6x471-source/lib/modules.nix:359:11:
358| then
359| m:
| ^
360| if m._class != null -> m._class == class
… from call site
at /nix/store/sj9yrq21wbbfr5715hys3laa2qd6x471-source/lib/modules.nix:400:35:
399| let
400| module = checkModule (loadModule args parentFile "${parentKey}:anon-${toString n}" x);
| ^
401| collectedImports = collectStructuredModules module._file module.key module.imports args;
… while calling 'loadModule'
at /nix/store/sj9yrq21wbbfr5715hys3laa2qd6x471-source/lib/modules.nix:336:53:
335| # Like unifyModuleSyntax, but also imports paths and calls functions if necessary
336| loadModule = args: fallbackFile: fallbackKey: m:
| ^
337| if isFunction m then
… from call site
at /nix/store/sj9yrq21wbbfr5715hys3laa2qd6x471-source/lib/modules.nix:337:12:
336| loadModule = args: fallbackFile: fallbackKey: m:
337| if isFunction m then
| ^
338| unifyModuleSyntax fallbackFile fallbackKey (applyModuleArgs fallbackKey m args)
… while calling 'isFunction'
at /nix/store/sj9yrq21wbbfr5715hys3laa2qd6x471-source/lib/trivial.nix:929:16:
928| */
929| isFunction = f: builtins.isFunction f ||
| ^
930| (f ? __functor && isFunction (f.__functor f));
error: cannot look up '<home-manager/nixos>' in pure evaluation mode (use '--impure' to override)
at «none»:0: (source not available)
[user@hostname:~]$ sudo nixos-rebuild switch --show-trace --verbose --impure
$ sudo cat /proc/sys/kernel/hostname
$ nix --extra-experimental-features nix-command flakes build --out-link /tmp/nixos-rebuild.g1ZYsk/nixos-rebuild /etc/nixos#nixosConfigurations."hostname".config.system.build.nixos-rebuild --show-trace --verbose --impure
$ exec /nix/store/6nmjydhl3f1aanz6z18k7bl21r5k8ny4-nixos-rebuild/bin/nixos-rebuild switch --show-trace --verbose --impure
$ sudo cat /proc/sys/kernel/hostname
building the system configuration...
Building in flake mode.
$ nix --extra-experimental-features nix-command flakes build /etc/nixos#nixosConfigurations."hostname".config.system.build.toplevel --show-trace --verbose --impure --out-link /tmp/nixos-rebuild.gVWMtM/result
these 18 derivations will be built:
/nix/store/7kp698q45gyyx7ppsi08p6xcs3d1qy6a-activation-script.drv
/nix/store/18vqfg74l7m6d2qdwyw7vv3v7nnvclds-home-manager-generation.drv
/nix/store/2znaj5w4q2rf23snyf0sl16k1ghrc74s-unit-home-manager-user.service.drv
/nix/store/ww0z34m6l0d7n75jchxh2nz1hv6f1as4-system-path.drv
/nix/store/3fnyifgwl34imkaa10mcs9gfbd39n51g-dbus-1.drv
/nix/store/s0wn4zvhm8xasg5ad7n02bb4sfsk9cx8-X-Restart-Triggers-dbus.drv
/nix/store/4x5dfx8q0p4iggiimmr7rmpv81lnv1w2-unit-dbus.service.drv
/nix/store/9bcyfl598pajj9s94iqsr0ry5yvalnyk-etc-pam-environment.drv
/nix/store/h5h1skxcxr2ykzfzl2qdjmpmfx9jdrzx-X-Restart-Triggers-polkit.drv
/nix/store/ahg7fcbjr4309nm0wsrfy0sqqw6xri0i-unit-polkit.service.drv
/nix/store/yai3z2r4bzpjb1fb2hzmmpgmn5a5h1ih-unit-accounts-daemon.service.drv
/nix/store/cb861znyr9gksys49l6b58j1lv66dngv-system-units.drv
/nix/store/pdz5lacgfv4bzx2f4m5apxdhgx8dwmf1-unit-dbus.service.drv
/nix/store/izdpvka08i00yf3zxb3psvmqpsjk7nhf-user-units.drv
/nix/store/qzf3br5ciyq733b7wzz0qm4p62wq9m4q-set-environment.drv
/nix/store/m3mri3mjflg67z1l97jnpis603wykn5a-etc-profile.drv
/nix/store/x9i724ysydawma9agmbb39420qinyakq-etc.drv
/nix/store/xas6w7k8qlfim05ngp13hy175n8364ym-nixos-system-hostname-24.05.20240717.c716603.drv
building '/nix/store/ww0z34m6l0d7n75jchxh2nz1hv6f1as4-system-path.drv'...
building '/nix/store/7kp698q45gyyx7ppsi08p6xcs3d1qy6a-activation-script.drv'...
building '/nix/store/18vqfg74l7m6d2qdwyw7vv3v7nnvclds-home-manager-generation.drv'...
building '/nix/store/2znaj5w4q2rf23snyf0sl16k1ghrc74s-unit-home-manager-user.service.drv'...
building '/nix/store/h5h1skxcxr2ykzfzl2qdjmpmfx9jdrzx-X-Restart-Triggers-polkit.drv'...
building '/nix/store/3fnyifgwl34imkaa10mcs9gfbd39n51g-dbus-1.drv'...
building '/nix/store/9bcyfl598pajj9s94iqsr0ry5yvalnyk-etc-pam-environment.drv'...
building '/nix/store/qzf3br5ciyq733b7wzz0qm4p62wq9m4q-set-environment.drv'...
building '/nix/store/yai3z2r4bzpjb1fb2hzmmpgmn5a5h1ih-unit-accounts-daemon.service.drv'...
building '/nix/store/s0wn4zvhm8xasg5ad7n02bb4sfsk9cx8-X-Restart-Triggers-dbus.drv'...
building '/nix/store/m3mri3mjflg67z1l97jnpis603wykn5a-etc-profile.drv'...
building '/nix/store/ahg7fcbjr4309nm0wsrfy0sqqw6xri0i-unit-polkit.service.drv'...
building '/nix/store/4x5dfx8q0p4iggiimmr7rmpv81lnv1w2-unit-dbus.service.drv'...
building '/nix/store/pdz5lacgfv4bzx2f4m5apxdhgx8dwmf1-unit-dbus.service.drv'...
building '/nix/store/cb861znyr9gksys49l6b58j1lv66dngv-system-units.drv'...
building '/nix/store/izdpvka08i00yf3zxb3psvmqpsjk7nhf-user-units.drv'...
building '/nix/store/x9i724ysydawma9agmbb39420qinyakq-etc.drv'...
building '/nix/store/xas6w7k8qlfim05ngp13hy175n8364ym-nixos-system-hostname-24.05.20240717.c716603.drv'...
$ sudo nix-env -p /nix/var/nix/profiles/system --set /nix/store/gykqhshvqz6lvj9fpfjwfwcyycp9z058-nixos-system-hostname-24.05.20240717.c716603
$ sudo systemd-run -E LOCALE_ARCHIVE -E NIXOS_INSTALL_BOOTLOADER= --collect --no-ask-password --pipe --quiet --same-dir --service-type=exec --unit=nixos-rebuild-switch-to-configuration --wait true
Using systemd-run to switch configuration.
$ sudo systemd-run -E LOCALE_ARCHIVE -E NIXOS_INSTALL_BOOTLOADER= --collect --no-ask-password --pipe --quiet --same-dir --service-type=exec --unit=nixos-rebuild-switch-to-configuration --wait /nix/store/gykqhshvqz6lvj9fpfjwfwcyycp9z058-nixos-system-hostname-24.05.20240717.c716603/bin/switch-to-configuration switch
stopping the following units: accounts-daemon.service
activating the configuration...
setting up /etc...
reloading user units for user...
restarting sysinit-reactivation.target
reloading the following units: dbus.service
restarting the following units: polkit.service
starting the following units: accounts-daemon.service
the following new units were started: home-manager-user.service, sysinit-reactivation.target, systemd-tmpfiles-resetup.service
[user@hostname:~]$ sudo nixos-rebuild switch
error: cached failure of attribute 'nixosConfigurations.hostname.config'
[user@hostname:~]$ sudo nixos-rebuild switch --show-trace
error: cached failure of attribute 'nixosConfigurations.hostname.config'
[user@hostname:~]$ sudo nixos-rebuild switch --show-trace --verbose
$ sudo cat /proc/sys/kernel/hostname
$ nix --extra-experimental-features nix-command flakes build --out-link /tmp/nixos-rebuild.BJGwZS/nixos-rebuild /etc/nixos#nixosConfigurations."hostname".config.system.build.nixos-rebuild --show-trace --verbose
error: cached failure of attribute 'nixosConfigurations.hostname.config'
[user@hostname:~]$ sudo nixos-rebuild switch --impure
building the system configuration...
activating the configuration...
setting up /etc...
reloading user units for user...
restarting sysinit-reactivation.target
[user@hostname:~]$ sudo nixos-rebuild switch
error: cached failure of attribute 'nixosConfigurations.hostname.config'
[user@hostname:/etc/nixos]$ sudo nixos-rebuild switch --flake .#
error: undefined variable 'home-manager'
at /nix/store/h1y44cqmf7z64zswd5mw2chfjjp53xim-source/flake.nix:20:2:
19| ./configuration.nix
20| home-manager.nixosModules.home-manager
| ^
21| {
- outputs = { self, nixpkgs, ... }@inputs: {
+ outputs = inputs@{ nixpkgs, home-manager, ... }: {
and now it is:
[user@hostname:/etc/nixos]$ sudo nixos-rebuild switch
warning: updating lock file '/etc/nixos/flake.lock':
• Added input 'home-manager':
'github:nix-community/home-manager/afd2021bedff2de92dfce0e257a3d03ae65c603d' (2024-07-16)
• Added input 'home-manager/nixpkgs':
follows 'nixpkgs'
error:
… while calling the 'seq' builtin
at /nix/store/sj9yrq21wbbfr5715hys3laa2qd6x471-source/lib/modules.nix:322:18:
321| options = checked options;
322| config = checked (removeAttrs config [ "_module" ]);
| ^
323| _module = checked (config._module);
… while evaluating a branch condition
at /nix/store/sj9yrq21wbbfr5715hys3laa2qd6x471-source/lib/modules.nix:261:9:
260| checkUnmatched =
261| if config._module.check && config._module.freeformType == null && merged.unmatchedDefns != [] then
| ^
262| let
(stack trace truncated; use '--show-trace' to show the full trace)
error: cannot look up '<home-manager/nixos>' in pure evaluation mode (use '--impure' to override)
at «none»:0: (source not available)
[user@hostname:/etc/nixos]$ sudo nixos-rebuild switch --flake .#
error: cached failure of attribute 'nixosConfigurations.hostname.config'
[user@hostname:/etc/nixos]$ sudo nixos-rebuild switch --flake .#hostname --option eval-cache false --impure --show-trace --verbose
$ nix --extra-experimental-features nix-command flakes build --out-link /tmp/nixos-rebuild.fFPs6Y/nixos-rebuild .#nixosConfigurations."hostname".config.system.build.nixos-rebuild --option eval-cache false --impure --show-trace --verbose
$ exec /nix/store/6nmjydhl3f1aanz6z18k7bl21r5k8ny4-nixos-rebuild/bin/nixos-rebuild switch --flake .#hostname --option eval-cache false --impure --show-trace --verbose
building the system configuration...
Building in flake mode.
$ nix --extra-experimental-features nix-command flakes build .#nixosConfigurations."hostname".config.system.build.toplevel --option eval-cache false --impure --show-trace --verbose --out-link /tmp/nixos-rebuild.D5r6th/result
error:
… while calling anonymous lambda
at /nix/store/sj9yrq21wbbfr5715hys3laa2qd6x471-source/lib/attrsets.nix:1571:24:
1570| let f = attrPath:
1571| zipAttrsWith (n: values:
| ^
1572| let here = attrPath ++ [n]; in
… while calling anonymous lambda
at /nix/store/sj9yrq21wbbfr5715hys3laa2qd6x471-source/lib/attrsets.nix:1205:18:
1204| mapAttrs
1205| (name: value:
| ^
1206| if isAttrs value && cond value
… from call site
at /nix/store/sj9yrq21wbbfr5715hys3laa2qd6x471-source/lib/attrsets.nix:1208:18:
1207| then recurse (path ++ [ name ]) value
1208| else f (path ++ [ name ]) value);
| ^
1209| in
… while calling anonymous lambda
at /nix/store/sj9yrq21wbbfr5715hys3laa2qd6x471-source/lib/modules.nix:242:72:
241| # For definitions that have an associated option
242| declaredConfig = mapAttrsRecursiveCond (v: ! isOption v) (_: v: v.value) options;
| ^
243|
… while evaluating the option `system.build.toplevel':
… while calling anonymous lambda
at /nix/store/sj9yrq21wbbfr5715hys3laa2qd6x471-source/lib/modules.nix:824:28:
823| # Process mkMerge and mkIf properties.
824| defs' = concatMap (m:
| ^
825| map (value: { inherit (m) file; inherit value; }) (builtins.addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))
… while evaluating definitions from `/nix/store/sj9yrq21wbbfr5715hys3laa2qd6x471-source/nixos/modules/system/activation/top-level.nix':
… from call site
at /nix/store/sj9yrq21wbbfr5715hys3laa2qd6x471-source/lib/modules.nix:825:137:
824| defs' = concatMap (m:
825| map (value: { inherit (m) file; inherit value; }) (builtins.addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))
| ^
826| ) defs;
… while calling 'dischargeProperties'
at /nix/store/sj9yrq21wbbfr5715hys3laa2qd6x471-source/lib/modules.nix:896:25:
895| */
896| dischargeProperties = def:
| ^
897| if def._type or "" == "merge" then
… from call site
at /nix/store/sj9yrq21wbbfr5715hys3laa2qd6x471-source/nixos/modules/system/activation/top-level.nix:71:12:
70| # Replace runtime dependencies
71| system = foldr ({ oldDependency, newDependency }: drv:
| ^
72| pkgs.replaceDependency { inherit oldDependency newDependency drv; }
… while calling 'foldr'
at /nix/store/sj9yrq21wbbfr5715hys3laa2qd6x471-source/lib/lists.nix:121:20:
120| */
121| foldr = op: nul: list:
| ^
122| let
… from call site
at /nix/store/sj9yrq21wbbfr5715hys3laa2qd6x471-source/lib/lists.nix:128:8:
127| else op (elemAt list n) (fold' (n + 1));
128| in fold' 0;
| ^
129|
… while calling 'fold''
at /nix/store/sj9yrq21wbbfr5715hys3laa2qd6x471-source/lib/lists.nix:124:15:
123| len = length list;
124| fold' = n:
| ^
125| if n == len
… while calling anonymous lambda
at /nix/store/sj9yrq21wbbfr5715hys3laa2qd6x471-source/lib/attrsets.nix:1205:18:
1204| mapAttrs
1205| (name: value:
| ^
1206| if isAttrs value && cond value
… from call site
at /nix/store/sj9yrq21wbbfr5715hys3laa2qd6x471-source/lib/attrsets.nix:1208:18:
1207| then recurse (path ++ [ name ]) value
1208| else f (path ++ [ name ]) value);
| ^
1209| in
… while calling anonymous lambda
at /nix/store/sj9yrq21wbbfr5715hys3laa2qd6x471-source/lib/modules.nix:242:72:
241| # For definitions that have an associated option
242| declaredConfig = mapAttrsRecursiveCond (v: ! isOption v) (_: v: v.value) options;
| ^
243|
… while evaluating the option `assertions':
… while calling anonymous lambda
at /nix/store/sj9yrq21wbbfr5715hys3laa2qd6x471-source/lib/modules.nix:824:28:
823| # Process mkMerge and mkIf properties.
824| defs' = concatMap (m:
| ^
825| map (value: { inherit (m) file; inherit value; }) (builtins.addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))
… while evaluating definitions from `/nix/var/nix/profiles/per-user/root/channels/home-manager/nixos/common.nix':
… from call site
at /nix/store/sj9yrq21wbbfr5715hys3laa2qd6x471-source/lib/modules.nix:825:137:
824| defs' = concatMap (m:
825| map (value: { inherit (m) file; inherit value; }) (builtins.addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))
| ^
826| ) defs;
… while calling 'dischargeProperties'
at /nix/store/sj9yrq21wbbfr5715hys3laa2qd6x471-source/lib/modules.nix:896:25:
895| */
896| dischargeProperties = def:
| ^
897| if def._type or "" == "merge" then
… while calling anonymous lambda
at /nix/store/sj9yrq21wbbfr5715hys3laa2qd6x471-source/lib/attrsets.nix:1205:18:
1204| mapAttrs
1205| (name: value:
| ^
1206| if isAttrs value && cond value
… while calling anonymous lambda
at /nix/store/sj9yrq21wbbfr5715hys3laa2qd6x471-source/lib/modules.nix:676:37:
675|
676| matchedOptions = mapAttrs (n: v: v.matchedOptions) resultsByName;
| ^
677|
… from call site
at /nix/store/sj9yrq21wbbfr5715hys3laa2qd6x471-source/lib/modules.nix:646:32:
645| in {
646| matchedOptions = evalOptionValue loc opt defns';
| ^
647| unmatchedDefns = [];
… while calling 'evalOptionValue'
at /nix/store/sj9yrq21wbbfr5715hys3laa2qd6x471-source/lib/modules.nix:780:31:
779| config value. */
780| evalOptionValue = loc: opt: defs:
| ^
781| let
...
no more characters available