-
-
Save jhilker98/251ca530e6d127847d03c80ece01358c to your computer and use it in GitHub Desktop.
wip nix-colors wallpaper on sddm-sugar-dark theme
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ config, lib, pkgs, nix-colors, ...}: | |
{ | |
imports = [ | |
./x11 | |
./fonts | |
./audio | |
./users.nix | |
./security_gpg.nix | |
./flakes.nix | |
./networking_i18n.nix | |
./devel.nix | |
]; | |
system.stateVersion = "22.05"; | |
environment.systemPackages = | |
let | |
# sddm-themes = pkgs.callPackage ../packages/sddmThemes {}; | |
sddm_SD = pkgs.callPackage ../packages/sddmThemes/sugarDark.nix {}; | |
in with pkgs; [ | |
#sddm-themes.sugar-dark | |
sddm_SD.sddm-sugar-dark | |
libsForQt5.qt5.qtgraphicaleffects | |
]; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
nixos-dots on main [!] took 2s ❯ doas nixos-rebuild switch --flake .#virtualbox -v --show-trace | |
$ nix --extra-experimental-features nix-command flakes build --out-link /tmp/nixos-rebuild.yGganp/nixos-rebuild .#nixosConfigurations."virtualbox".config.system.build.nixos-rebuild -v --show-trace | |
warning: Git tree '/home/jhilker/nixos-dots' is dirty | |
$ exec /nix/store/js885qc7pyv5c56y8xd5871zxg8xqp7l-nixos-rebuild/bin/nixos-rebuild switch --flake .#virtualbox -v --show-trace | |
building the system configuration... | |
Building in flake mode. | |
$ nix --extra-experimental-features nix-command flakes build .#nixosConfigurations."virtualbox".config.system.build.toplevel -v --show-trace --out-link /tmp/nixos-rebuild.m3Qzr4/result | |
warning: Git tree '/home/jhilker/nixos-dots' is dirty | |
error: Function called without required argument "nix-colors" at /nix/store/p7zv4k34bpy3bv1vfp7wlscc0sjzq7bh-source/packages/sddmThemes/sugarDark.nix:1 | |
… while evaluating 'callPackageWith' | |
at /nix/store/if56vv9237zafkzgzcdkqxf2lmp86myq-source/lib/customisation.nix:117:35: | |
116| */ | |
117| callPackageWith = autoArgs: fn: args: | |
| ^ | |
118| let | |
… from call site | |
at /nix/store/p7zv4k34bpy3bv1vfp7wlscc0sjzq7bh-source/system/default.nix:20:19: | |
19| # sddm-themes = pkgs.callPackage ../packages/sddmThemes {}; | |
20| sddm_SD = pkgs.callPackage ../packages/sddmThemes/sugarDark.nix {}; | |
| ^ | |
21| in with pkgs; [ | |
… while evaluating the attribute 'value' | |
at /nix/store/if56vv9237zafkzgzcdkqxf2lmp86myq-source/lib/types.nix:483:38: | |
482| elemType | |
483| [{ inherit (def) file; value = def'; }] | |
| ^ | |
484| ).optionalValue | |
… while evaluating 'dischargeProperties' | |
at /nix/store/if56vv9237zafkzgzcdkqxf2lmp86myq-source/lib/modules.nix:805:25: | |
804| */ | |
805| dischargeProperties = def: | |
| ^ | |
806| if def._type or "" == "merge" then | |
… from call site | |
at /nix/store/if56vv9237zafkzgzcdkqxf2lmp86myq-source/lib/modules.nix:734:137: | |
733| defs' = concatMap (m: | |
734| map (value: { inherit (m) file; inherit value; }) (builtins.addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value)) | |
| ^ | |
735| ) defs; | |
… while evaluating definitions from `/nix/store/p7zv4k34bpy3bv1vfp7wlscc0sjzq7bh-source/system': | |
… while evaluating anonymous lambda | |
at /nix/store/if56vv9237zafkzgzcdkqxf2lmp86myq-source/lib/modules.nix:733:28: | |
732| # Process mkMerge and mkIf properties. | |
733| defs' = concatMap (m: | |
| ^ | |
734| map (value: { inherit (m) file; inherit value; }) (builtins.addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value)) | |
… from call site | |
at /nix/store/if56vv9237zafkzgzcdkqxf2lmp86myq-source/lib/modules.nix:733:17: | |
732| # Process mkMerge and mkIf properties. | |
733| defs' = concatMap (m: | |
| ^ | |
734| map (value: { inherit (m) file; inherit value; }) (builtins.addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value)) | |
… while evaluating the attribute 'values' | |
at /nix/store/if56vv9237zafkzgzcdkqxf2lmp86myq-source/lib/modules.nix:846:7: | |
845| in { | |
846| values = concatMap (def: if getPrio def == highestPrio then [(strip def)] else []) defs; | |
| ^ | |
847| inherit highestPrio; | |
… while evaluating the attribute 'values' | |
at /nix/store/if56vv9237zafkzgzcdkqxf2lmp86myq-source/lib/modules.nix:747:9: | |
746| in { | |
747| values = defs'''; | |
| ^ | |
748| inherit (defs'') highestPrio; | |
… while evaluating the attribute 'optionalValue' | |
at /nix/store/if56vv9237zafkzgzcdkqxf2lmp86myq-source/lib/modules.nix:765:5: | |
764| | |
765| optionalValue = | |
| ^ | |
766| if isDefined then { value = mergedValue; } | |
… while evaluating anonymous lambda | |
at /nix/store/if56vv9237zafkzgzcdkqxf2lmp86myq-source/lib/types.nix:479:21: | |
478| map (x: x.value) (filter (x: x ? value) (concatLists (imap1 (n: def: | |
479| imap1 (m: def': | |
| ^ | |
480| (mergeDefinitions | |
… from call site | |
at /nix/store/if56vv9237zafkzgzcdkqxf2lmp86myq-source/lib/lists.nix:117:32: | |
116| */ | |
117| imap1 = f: list: genList (n: f (n + 1) (elemAt list n)) (length list); | |
| ^ | |
118| | |
… while evaluating anonymous lambda | |
at /nix/store/if56vv9237zafkzgzcdkqxf2lmp86myq-source/lib/lists.nix:117:29: | |
116| */ | |
117| imap1 = f: list: genList (n: f (n + 1) (elemAt list n)) (length list); | |
| ^ | |
118| | |
… from call site | |
… while evaluating anonymous lambda | |
at /nix/store/if56vv9237zafkzgzcdkqxf2lmp86myq-source/lib/types.nix:478:35: | |
477| merge = loc: defs: | |
478| map (x: x.value) (filter (x: x ? value) (concatLists (imap1 (n: def: | |
| ^ | |
479| imap1 (m: def': | |
… from call site | |
… while evaluating 'merge' | |
at /nix/store/if56vv9237zafkzgzcdkqxf2lmp86myq-source/lib/types.nix:477:20: | |
476| check = isList; | |
477| merge = loc: defs: | |
| ^ | |
478| map (x: x.value) (filter (x: x ? value) (concatLists (imap1 (n: def: | |
… from call site | |
at /nix/store/if56vv9237zafkzgzcdkqxf2lmp86myq-source/lib/modules.nix:755:59: | |
754| if isDefined then | |
755| if all (def: type.check def.value) defsFinal then type.merge loc defsFinal | |
| ^ | |
756| else let allInvalid = filter (def: ! type.check def.value) defsFinal; | |
… while evaluating the attribute 'mergedValue' | |
at /nix/store/if56vv9237zafkzgzcdkqxf2lmp86myq-source/lib/modules.nix:753:5: | |
752| # Type-check the remaining definitions, and merge them. Or throw if no definitions. | |
753| mergedValue = | |
| ^ | |
754| if isDefined then | |
… while evaluating the option `environment.systemPackages': | |
… while evaluating the attribute 'value' | |
at /nix/store/if56vv9237zafkzgzcdkqxf2lmp86myq-source/lib/modules.nix:719:9: | |
718| in warnDeprecation opt // | |
719| { value = builtins.addErrorContext "while evaluating the option `${showOption loc}':" value; | |
| ^ | |
720| inherit (res.defsFinal') highestPrio; | |
… while evaluating anonymous lambda | |
at /nix/store/if56vv9237zafkzgzcdkqxf2lmp86myq-source/lib/modules.nix:268:72: | |
267| # For definitions that have an associated option | |
268| declaredConfig = mapAttrsRecursiveCond (v: ! isOption v) (_: v: v.value) options; | |
| ^ | |
269| | |
… from call site | |
at /nix/store/if56vv9237zafkzgzcdkqxf2lmp86myq-source/lib/attrsets.nix:401:20: | |
400| then recurse (path ++ [name]) value | |
401| else f (path ++ [name]) value; | |
| ^ | |
402| in mapAttrs g; | |
… while evaluating 'g' | |
at /nix/store/if56vv9237zafkzgzcdkqxf2lmp86myq-source/lib/attrsets.nix:398:19: | |
397| g = | |
398| name: value: | |
| ^ | |
399| if isAttrs value && cond value | |
… from call site | |
… while evaluating the attribute 'passAsFile' | |
at /nix/store/if56vv9237zafkzgzcdkqxf2lmp86myq-source/pkgs/build-support/buildenv/default.nix:77:5: | |
76| # XXX: The size is somewhat arbitrary | |
77| passAsFile = if builtins.stringLength pkgs >= 128*1024 then [ "pkgs" ] else [ ]; | |
| ^ | |
78| } | |
… while evaluating the attribute 'passAsFile' of the derivation 'system-path' | |
at /nix/store/if56vv9237zafkzgzcdkqxf2lmp86myq-source/pkgs/stdenv/generic/make-derivation.nix:270:7: | |
269| // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) { | |
270| name = | |
| ^ | |
271| let | |
… while evaluating 'check' | |
at /nix/store/if56vv9237zafkzgzcdkqxf2lmp86myq-source/lib/types.nix:468:15: | |
467| name = "path"; | |
468| check = x: isCoercibleToString x && builtins.substring 0 1 (toString x) == "/"; | |
| ^ | |
469| merge = mergeEqualOption; | |
… from call site | |
at /nix/store/if56vv9237zafkzgzcdkqxf2lmp86myq-source/lib/modules.nix:755:22: | |
754| if isDefined then | |
755| if all (def: type.check def.value) defsFinal then type.merge loc defsFinal | |
| ^ | |
756| else let allInvalid = filter (def: ! type.check def.value) defsFinal; | |
… while evaluating anonymous lambda | |
at /nix/store/if56vv9237zafkzgzcdkqxf2lmp86myq-source/lib/modules.nix:755:17: | |
754| if isDefined then | |
755| if all (def: type.check def.value) defsFinal then type.merge loc defsFinal | |
| ^ | |
756| else let allInvalid = filter (def: ! type.check def.value) defsFinal; | |
… from call site | |
at /nix/store/if56vv9237zafkzgzcdkqxf2lmp86myq-source/lib/modules.nix:755:12: | |
754| if isDefined then | |
755| if all (def: type.check def.value) defsFinal then type.merge loc defsFinal | |
| ^ | |
756| else let allInvalid = filter (def: ! type.check def.value) defsFinal; | |
… while evaluating the attribute 'value' | |
at /nix/store/if56vv9237zafkzgzcdkqxf2lmp86myq-source/lib/modules.nix:766:27: | |
765| optionalValue = | |
766| if isDefined then { value = mergedValue; } | |
| ^ | |
767| else {}; | |
… while evaluating anonymous lambda | |
at /nix/store/if56vv9237zafkzgzcdkqxf2lmp86myq-source/lib/types.nix:478:14: | |
477| merge = loc: defs: | |
478| map (x: x.value) (filter (x: x ? value) (concatLists (imap1 (n: def: | |
| ^ | |
479| imap1 (m: def': | |
… from call site | |
… while evaluating the attribute 'serviceDirectories' of the derivation 'dbus-1' | |
at /nix/store/if56vv9237zafkzgzcdkqxf2lmp86myq-source/pkgs/stdenv/generic/make-derivation.nix:270:7: | |
269| // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) { | |
270| name = | |
| ^ | |
271| let | |
… while evaluating 'check' | |
at /nix/store/if56vv9237zafkzgzcdkqxf2lmp86myq-source/lib/types.nix:468:15: | |
467| name = "path"; | |
468| check = x: isCoercibleToString x && builtins.substring 0 1 (toString x) == "/"; | |
| ^ | |
469| merge = mergeEqualOption; | |
… from call site | |
at /nix/store/if56vv9237zafkzgzcdkqxf2lmp86myq-source/lib/modules.nix:755:22: | |
754| if isDefined then | |
755| if all (def: type.check def.value) defsFinal then type.merge loc defsFinal | |
| ^ | |
756| else let allInvalid = filter (def: ! type.check def.value) defsFinal; | |
… while evaluating anonymous lambda | |
at /nix/store/if56vv9237zafkzgzcdkqxf2lmp86myq-source/lib/modules.nix:755:17: | |
754| if isDefined then | |
755| if all (def: type.check def.value) defsFinal then type.merge loc defsFinal | |
| ^ | |
756| else let allInvalid = filter (def: ! type.check def.value) defsFinal; | |
… from call site | |
at /nix/store/if56vv9237zafkzgzcdkqxf2lmp86myq-source/lib/modules.nix:755:12: | |
754| if isDefined then | |
755| if all (def: type.check def.value) defsFinal then type.merge loc defsFinal | |
| ^ | |
756| else let allInvalid = filter (def: ! type.check def.value) defsFinal; | |
… while evaluating the attribute 'mergedValue' | |
at /nix/store/if56vv9237zafkzgzcdkqxf2lmp86myq-source/lib/modules.nix:753:5: | |
752| # Type-check the remaining definitions, and merge them. Or throw if no definitions. | |
753| mergedValue = | |
| ^ | |
754| if isDefined then | |
… while evaluating the option `environment.etc.dbus-1.source': | |
… while evaluating the attribute 'value' | |
at /nix/store/if56vv9237zafkzgzcdkqxf2lmp86myq-source/lib/modules.nix:719:9: | |
718| in warnDeprecation opt // | |
719| { value = builtins.addErrorContext "while evaluating the option `${showOption loc}':" value; | |
| ^ | |
720| inherit (res.defsFinal') highestPrio; | |
… while evaluating anonymous lambda | |
at /nix/store/if56vv9237zafkzgzcdkqxf2lmp86myq-source/lib/modules.nix:268:72: | |
267| # For definitions that have an associated option | |
268| declaredConfig = mapAttrsRecursiveCond (v: ! isOption v) (_: v: v.value) options; | |
| ^ | |
269| | |
… from call site | |
at /nix/store/if56vv9237zafkzgzcdkqxf2lmp86myq-source/lib/attrsets.nix:401:20: | |
400| then recurse (path ++ [name]) value | |
401| else f (path ++ [name]) value; | |
| ^ | |
402| in mapAttrs g; | |
… while evaluating 'g' | |
at /nix/store/if56vv9237zafkzgzcdkqxf2lmp86myq-source/lib/attrsets.nix:398:19: | |
397| g = | |
398| name: value: | |
| ^ | |
399| if isAttrs value && cond value | |
… from call site | |
… while evaluating 'escapeShellArg' | |
at /nix/store/if56vv9237zafkzgzcdkqxf2lmp86myq-source/lib/strings.nix:316:20: | |
315| */ | |
316| escapeShellArg = arg: "'${replaceStrings ["'"] ["'\\''"] (toString arg)}'"; | |
| ^ | |
317| | |
… from call site | |
… while evaluating 'concatMapStringsSep' | |
at /nix/store/if56vv9237zafkzgzcdkqxf2lmp86myq-source/lib/strings.nix:111:5: | |
110| # List of input strings | |
111| list: concatStringsSep sep (map f list); | |
| ^ | |
112| | |
… from call site | |
at /nix/store/if56vv9237zafkzgzcdkqxf2lmp86myq-source/nixos/modules/system/etc/etc.nix:54:43: | |
53| mkdir -p "$out/etc" | |
54| ${concatMapStringsSep "\n" (etcEntry: escapeShellArgs [ | |
| ^ | |
55| "makeEtcEntry" | |
… while evaluating anonymous lambda | |
at /nix/store/if56vv9237zafkzgzcdkqxf2lmp86myq-source/nixos/modules/system/etc/etc.nix:54:33: | |
53| mkdir -p "$out/etc" | |
54| ${concatMapStringsSep "\n" (etcEntry: escapeShellArgs [ | |
| ^ | |
55| "makeEtcEntry" | |
… from call site | |
… while evaluating 'concatMapStringsSep' | |
at /nix/store/if56vv9237zafkzgzcdkqxf2lmp86myq-source/lib/strings.nix:111:5: | |
110| # List of input strings | |
111| list: concatStringsSep sep (map f list); | |
| ^ | |
112| | |
… from call site | |
at /nix/store/if56vv9237zafkzgzcdkqxf2lmp86myq-source/nixos/modules/system/etc/etc.nix:54:7: | |
53| mkdir -p "$out/etc" | |
54| ${concatMapStringsSep "\n" (etcEntry: escapeShellArgs [ | |
| ^ | |
55| "makeEtcEntry" | |
… while evaluating the attribute 'buildCommand' of the derivation 'etc' | |
at /nix/store/if56vv9237zafkzgzcdkqxf2lmp86myq-source/pkgs/stdenv/generic/make-derivation.nix:270:7: | |
269| // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) { | |
270| name = | |
| ^ | |
271| let | |
… while evaluating the attribute 'value' | |
at /nix/store/if56vv9237zafkzgzcdkqxf2lmp86myq-source/lib/modules.nix:554:44: | |
553| defnsByName' = byName "config" (module: value: | |
554| [{ inherit (module) file; inherit value; }] | |
| ^ | |
555| ) configs; | |
… while evaluating 'atDepth' | |
at /nix/store/if56vv9237zafkzgzcdkqxf2lmp86myq-source/lib/attrsets.nix:60:17: | |
59| len = length attrPath; | |
60| atDepth = n: | |
| ^ | |
61| if n == len | |
… from call site | |
at /nix/store/if56vv9237zafkzgzcdkqxf2lmp86myq-source/lib/attrsets.nix:63:39: | |
62| then value | |
63| else { ${elemAt attrPath n} = atDepth (n + 1); }; | |
| ^ | |
64| in atDepth 0; | |
… while evaluating the attribute 'value' | |
at /nix/store/if56vv9237zafkzgzcdkqxf2lmp86myq-source/lib/types.nix:538:58: | |
537| # Push down position info. | |
538| (map (def: mapAttrs (n: v: { inherit (def) file; value = v; }) def.value) defs); | |
| ^ | |
539| emptyValue = { value = {}; }; | |
… while evaluating 'dischargeProperties' | |
at /nix/store/if56vv9237zafkzgzcdkqxf2lmp86myq-source/lib/modules.nix:805:25: | |
804| */ | |
805| dischargeProperties = def: | |
| ^ | |
806| if def._type or "" == "merge" then | |
… from call site | |
at /nix/store/if56vv9237zafkzgzcdkqxf2lmp86myq-source/lib/modules.nix:734:137: | |
733| defs' = concatMap (m: | |
734| map (value: { inherit (m) file; inherit value; }) (builtins.addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value)) | |
| ^ | |
735| ) defs; | |
… while evaluating definitions from `/nix/store/if56vv9237zafkzgzcdkqxf2lmp86myq-source/nixos/modules/system/etc/etc.nix': | |
… while evaluating anonymous lambda | |
at /nix/store/if56vv9237zafkzgzcdkqxf2lmp86myq-source/lib/modules.nix:733:28: | |
732| # Process mkMerge and mkIf properties. | |
733| defs' = concatMap (m: | |
| ^ | |
734| map (value: { inherit (m) file; inherit value; }) (builtins.addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value)) | |
… from call site | |
at /nix/store/if56vv9237zafkzgzcdkqxf2lmp86myq-source/lib/modules.nix:733:17: | |
732| # Process mkMerge and mkIf properties. | |
733| defs' = concatMap (m: | |
| ^ | |
734| map (value: { inherit (m) file; inherit value; }) (builtins.addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value)) | |
… while evaluating the attribute 'values' | |
at /nix/store/if56vv9237zafkzgzcdkqxf2lmp86myq-source/lib/modules.nix:846:7: | |
845| in { | |
846| values = concatMap (def: if getPrio def == highestPrio then [(strip def)] else []) defs; | |
| ^ | |
847| inherit highestPrio; | |
… while evaluating the attribute 'values' | |
at /nix/store/if56vv9237zafkzgzcdkqxf2lmp86myq-source/lib/modules.nix:747:9: | |
746| in { | |
747| values = defs'''; | |
| ^ | |
748| inherit (defs'') highestPrio; | |
… while evaluating the attribute 'optionalValue.value' | |
at /nix/store/if56vv9237zafkzgzcdkqxf2lmp86myq-source/lib/modules.nix:765:5: | |
764| | |
765| optionalValue = | |
| ^ | |
766| if isDefined then { value = mergedValue; } | |
… while evaluating anonymous lambda | |
at /nix/store/if56vv9237zafkzgzcdkqxf2lmp86myq-source/lib/types.nix:532:29: | |
531| merge = loc: defs: | |
532| zipAttrsWith (name: defs: | |
| ^ | |
533| let merged = mergeDefinitions (loc ++ [name]) elemType defs; | |
… from call site | |
… while evaluating anonymous lambda | |
at /nix/store/if56vv9237zafkzgzcdkqxf2lmp86myq-source/lib/attrsets.nix:518:24: | |
517| let f = attrPath: | |
518| zipAttrsWith (n: values: | |
| ^ | |
519| let here = attrPath ++ [n]; in | |
… from call site | |
… while evaluating the attribute 'value' | |
at /nix/store/if56vv9237zafkzgzcdkqxf2lmp86myq-source/lib/modules.nix:554:44: | |
553| defnsByName' = byName "config" (module: value: | |
554| [{ inherit (module) file; inherit value; }] | |
| ^ | |
555| ) configs; | |
… while evaluating 'dischargeProperties' | |
at /nix/store/if56vv9237zafkzgzcdkqxf2lmp86myq-source/lib/modules.nix:805:25: | |
804| */ | |
805| dischargeProperties = def: | |
| ^ | |
806| if def._type or "" == "merge" then | |
… from call site | |
at /nix/store/if56vv9237zafkzgzcdkqxf2lmp86myq-source/lib/modules.nix:734:137: | |
733| defs' = concatMap (m: | |
734| map (value: { inherit (m) file; inherit value; }) (builtins.addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value)) | |
| ^ | |
735| ) defs; | |
… while evaluating definitions from `/nix/store/if56vv9237zafkzgzcdkqxf2lmp86myq-source/nixos/modules/system/etc/etc-activation.nix': | |
… while evaluating anonymous lambda | |
at /nix/store/if56vv9237zafkzgzcdkqxf2lmp86myq-source/lib/modules.nix:733:28: | |
732| # Process mkMerge and mkIf properties. | |
733| defs' = concatMap (m: | |
| ^ | |
734| map (value: { inherit (m) file; inherit value; }) (builtins.addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value)) | |
… from call site | |
at /nix/store/if56vv9237zafkzgzcdkqxf2lmp86myq-source/lib/modules.nix:733:17: | |
732| # Process mkMerge and mkIf properties. | |
733| defs' = concatMap (m: | |
| ^ | |
734| map (value: { inherit (m) file; inherit value; }) (builtins.addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value)) | |
… while evaluating the attribute 'values' | |
at /nix/store/if56vv9237zafkzgzcdkqxf2lmp86myq-source/lib/modules.nix:846:7: | |
845| in { | |
846| values = concatMap (def: if getPrio def == highestPrio then [(strip def)] else []) defs; | |
| ^ | |
847| inherit highestPrio; | |
… while evaluating the attribute 'values' | |
at /nix/store/if56vv9237zafkzgzcdkqxf2lmp86myq-source/lib/modules.nix:747:9: | |
746| in { | |
747| values = defs'''; | |
| ^ | |
748| inherit (defs'') highestPrio; | |
… while evaluating the attribute 'mergedValue' | |
at /nix/store/if56vv9237zafkzgzcdkqxf2lmp86myq-source/lib/modules.nix:753:5: | |
752| # Type-check the remaining definitions, and merge them. Or throw if no definitions. | |
753| mergedValue = | |
| ^ | |
754| if isDefined then | |
… while evaluating the option `system.activationScripts.etc.text': | |
… while evaluating the attribute 'value' | |
at /nix/store/if56vv9237zafkzgzcdkqxf2lmp86myq-source/lib/modules.nix:719:9: | |
718| in warnDeprecation opt // | |
719| { value = builtins.addErrorContext "while evaluating the option `${showOption loc}':" value; | |
| ^ | |
720| inherit (res.defsFinal') highestPrio; | |
… while evaluating anonymous lambda | |
at /nix/store/if56vv9237zafkzgzcdkqxf2lmp86myq-source/lib/modules.nix:268:72: | |
267| # For definitions that have an associated option | |
268| declaredConfig = mapAttrsRecursiveCond (v: ! isOption v) (_: v: v.value) options; | |
| ^ | |
269| | |
… from call site | |
at /nix/store/if56vv9237zafkzgzcdkqxf2lmp86myq-source/lib/attrsets.nix:401:20: | |
400| then recurse (path ++ [name]) value | |
401| else f (path ++ [name]) value; | |
| ^ | |
402| in mapAttrs g; | |
… while evaluating 'g' | |
at /nix/store/if56vv9237zafkzgzcdkqxf2lmp86myq-source/lib/attrsets.nix:398:19: | |
397| g = | |
398| name: value: | |
| ^ | |
399| if isAttrs value && cond value | |
… from call site | |
… while evaluating the attribute 'text' | |
at /nix/store/if56vv9237zafkzgzcdkqxf2lmp86myq-source/nixos/modules/system/activation/activation-script.nix:9:5: | |
8| addAttributeName = mapAttrs (a: v: v // { | |
9| text = '' | |
| ^ | |
10| #### Activation script snippet ${a}: | |
… while evaluating 'id' | |
at /nix/store/if56vv9237zafkzgzcdkqxf2lmp86myq-source/lib/trivial.nix:14:5: | |
13| # The value to return | |
14| x: x; | |
| ^ | |
15| | |
… from call site | |
… while evaluating 'textClosureMap' | |
at /nix/store/if56vv9237zafkzgzcdkqxf2lmp86myq-source/lib/strings-with-deps.nix:75:35: | |
74| | |
75| textClosureMap = f: predefined: names: | |
| ^ | |
76| concatStringsSep "\n" (map f (textClosureList predefined names)); | |
… from call site | |
at /nix/store/if56vv9237zafkzgzcdkqxf2lmp86myq-source/nixos/modules/system/activation/activation-script.nix:49:9: | |
48| | |
49| ${textClosureMap id (withDrySnippets) (attrNames withDrySnippets)} | |
| ^ | |
50| | |
… while evaluating 'systemActivationScript' | |
at /nix/store/if56vv9237zafkzgzcdkqxf2lmp86myq-source/nixos/modules/system/activation/activation-script.nix:20:33: | |
19| | |
20| systemActivationScript = set: onlyDry: let | |
| ^ | |
21| set' = mapAttrs (_: v: if isString v then (noDepEntry v) // { supportsDryActivation = false; } else v) set; | |
… from call site | |
at /nix/store/if56vv9237zafkzgzcdkqxf2lmp86myq-source/nixos/modules/system/activation/activation-script.nix:137:18: | |
136| apply = set: set // { | |
137| script = systemActivationScript set false; | |
| ^ | |
138| }; | |
… while evaluating the attribute 'system.activationScripts.script' | |
at /nix/store/if56vv9237zafkzgzcdkqxf2lmp86myq-source/nixos/modules/system/activation/activation-script.nix:137:9: | |
136| apply = set: set // { | |
137| script = systemActivationScript set false; | |
| ^ | |
138| }; | |
… while evaluating the attribute 'activationScript' of the derivation 'nixos-system-nixos-22.11.20220922.ae1dc13' | |
at /nix/store/if56vv9237zafkzgzcdkqxf2lmp86myq-source/pkgs/stdenv/generic/make-derivation.nix:270:7: | |
269| // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) { | |
270| name = | |
| ^ | |
271| let |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ stdenv, fetchFromGitHub, config, lib, pkgs, nix-colors, ... }: | |
{ | |
sddm-sugar-dark = stdenv.mkDerivation rec { | |
pname = "sddm-sugar-dark-theme"; | |
version = "1.2"; | |
dontBuild = true; | |
installPhase = '' | |
mkdir -p $out/share/sddm/themes/sugar-dark | |
cp -aR $src/* $out/share/sddm/themes/sugar-dark | |
''; | |
src = fetchFromGitHub { | |
owner = "MarianArlt"; | |
repo = "sddm-sugar-dark"; | |
rev = "v${version}"; | |
sha256 = "0gx0am7vq1ywaw2rm1p015x90b75ccqxnb1sz3wy8yjl27v82yhb"; | |
}; | |
}; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment