Added some packages, added some ssh and vim configurations, sorted packages in categories, and adjusted config with buckwheat hardware changes
This commit is contained in:
parent
8a30bc1889
commit
3d85329ca7
2
.gitignore
vendored
Normal file
2
.gitignore
vendored
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
build.log
|
||||||
|
flake.lock
|
719
build.log
719
build.log
@ -1,719 +0,0 @@
|
|||||||
warning: Git tree '/home/ii/Software/git/nix/confix' is dirty
|
|
||||||
Using saved setting for 'experimental-features = nix-command flakes' from ~/.local/share/nix/trusted-settings.json.
|
|
||||||
building the system configuration...
|
|
||||||
warning: Git tree '/home/ii/Software/git/nix/confix' is dirty
|
|
||||||
Using saved setting for 'experimental-features = nix-command flakes' from ~/.local/share/nix/trusted-settings.json.
|
|
||||||
trace: warning: optionsDocBook is deprecated since 23.11 and will be removed in 24.05
|
|
||||||
trace: warning: optionsDocBook is deprecated since 23.11 and will be removed in 24.05
|
|
||||||
trace: warning: optionsDocBook is deprecated since 23.11 and will be removed in 24.05
|
|
||||||
error:
|
|
||||||
… while calling anonymous lambda
|
|
||||||
|
|
||||||
at /nix/store/z1nvpjx9vd4151vx2krxzmx2p1a36pf9-source/lib/attrsets.nix:846:24:
|
|
||||||
|
|
||||||
845| let f = attrPath:
|
|
||||||
846| zipAttrsWith (n: values:
|
|
||||||
| ^
|
|
||||||
847| let here = attrPath ++ [n]; in
|
|
||||||
|
|
||||||
… while calling 'g'
|
|
||||||
|
|
||||||
at /nix/store/z1nvpjx9vd4151vx2krxzmx2p1a36pf9-source/lib/attrsets.nix:629:19:
|
|
||||||
|
|
||||||
628| g =
|
|
||||||
629| name: value:
|
|
||||||
| ^
|
|
||||||
630| if isAttrs value && cond value
|
|
||||||
|
|
||||||
… from call site
|
|
||||||
|
|
||||||
at /nix/store/z1nvpjx9vd4151vx2krxzmx2p1a36pf9-source/lib/attrsets.nix:632:20:
|
|
||||||
|
|
||||||
631| then recurse (path ++ [name]) value
|
|
||||||
632| else f (path ++ [name]) value;
|
|
||||||
| ^
|
|
||||||
633| in mapAttrs g;
|
|
||||||
|
|
||||||
… while calling anonymous lambda
|
|
||||||
|
|
||||||
at /nix/store/z1nvpjx9vd4151vx2krxzmx2p1a36pf9-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/z1nvpjx9vd4151vx2krxzmx2p1a36pf9-source/lib/modules.nix:822:28:
|
|
||||||
|
|
||||||
821| # Process mkMerge and mkIf properties.
|
|
||||||
822| defs' = concatMap (m:
|
|
||||||
| ^
|
|
||||||
823| map (value: { inherit (m) file; inherit value; }) (builtins.addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))
|
|
||||||
|
|
||||||
… while evaluating definitions from `/nix/store/z1nvpjx9vd4151vx2krxzmx2p1a36pf9-source/nixos/modules/system/activation/top-level.nix':
|
|
||||||
|
|
||||||
… from call site
|
|
||||||
|
|
||||||
at /nix/store/z1nvpjx9vd4151vx2krxzmx2p1a36pf9-source/lib/modules.nix:823:137:
|
|
||||||
|
|
||||||
822| defs' = concatMap (m:
|
|
||||||
823| map (value: { inherit (m) file; inherit value; }) (builtins.addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))
|
|
||||||
| ^
|
|
||||||
824| ) defs;
|
|
||||||
|
|
||||||
… while calling 'dischargeProperties'
|
|
||||||
|
|
||||||
at /nix/store/z1nvpjx9vd4151vx2krxzmx2p1a36pf9-source/lib/modules.nix:894:25:
|
|
||||||
|
|
||||||
893| */
|
|
||||||
894| dischargeProperties = def:
|
|
||||||
| ^
|
|
||||||
895| if def._type or "" == "merge" then
|
|
||||||
|
|
||||||
… from call site
|
|
||||||
|
|
||||||
at /nix/store/z1nvpjx9vd4151vx2krxzmx2p1a36pf9-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/z1nvpjx9vd4151vx2krxzmx2p1a36pf9-source/lib/lists.nix:53:20:
|
|
||||||
|
|
||||||
52| */
|
|
||||||
53| foldr = op: nul: list:
|
|
||||||
| ^
|
|
||||||
54| let
|
|
||||||
|
|
||||||
… from call site
|
|
||||||
|
|
||||||
at /nix/store/z1nvpjx9vd4151vx2krxzmx2p1a36pf9-source/lib/lists.nix:60:8:
|
|
||||||
|
|
||||||
59| else op (elemAt list n) (fold' (n + 1));
|
|
||||||
60| in fold' 0;
|
|
||||||
| ^
|
|
||||||
61|
|
|
||||||
|
|
||||||
… while calling 'fold''
|
|
||||||
|
|
||||||
at /nix/store/z1nvpjx9vd4151vx2krxzmx2p1a36pf9-source/lib/lists.nix:56:15:
|
|
||||||
|
|
||||||
55| len = length list;
|
|
||||||
56| fold' = n:
|
|
||||||
| ^
|
|
||||||
57| if n == len
|
|
||||||
|
|
||||||
… from call site
|
|
||||||
|
|
||||||
at /nix/store/z1nvpjx9vd4151vx2krxzmx2p1a36pf9-source/nixos/modules/system/activation/top-level.nix:68:10:
|
|
||||||
|
|
||||||
67| then throw "\nFailed assertions:\n${concatStringsSep "\n" (map (x: "- ${x}") failedAssertions)}"
|
|
||||||
68| else showWarnings config.warnings baseSystem;
|
|
||||||
| ^
|
|
||||||
69|
|
|
||||||
|
|
||||||
… while calling 'showWarnings'
|
|
||||||
|
|
||||||
at /nix/store/z1nvpjx9vd4151vx2krxzmx2p1a36pf9-source/lib/trivial.nix:414:28:
|
|
||||||
|
|
||||||
413|
|
|
||||||
414| showWarnings = warnings: res: lib.foldr (w: x: warn w x) res warnings;
|
|
||||||
| ^
|
|
||||||
415|
|
|
||||||
|
|
||||||
… from call site
|
|
||||||
|
|
||||||
at /nix/store/z1nvpjx9vd4151vx2krxzmx2p1a36pf9-source/lib/trivial.nix:414:33:
|
|
||||||
|
|
||||||
413|
|
|
||||||
414| showWarnings = warnings: res: lib.foldr (w: x: warn w x) res warnings;
|
|
||||||
| ^
|
|
||||||
415|
|
|
||||||
|
|
||||||
… while calling 'foldr'
|
|
||||||
|
|
||||||
at /nix/store/z1nvpjx9vd4151vx2krxzmx2p1a36pf9-source/lib/lists.nix:53:20:
|
|
||||||
|
|
||||||
52| */
|
|
||||||
53| foldr = op: nul: list:
|
|
||||||
| ^
|
|
||||||
54| let
|
|
||||||
|
|
||||||
… from call site
|
|
||||||
|
|
||||||
at /nix/store/z1nvpjx9vd4151vx2krxzmx2p1a36pf9-source/lib/lists.nix:60:8:
|
|
||||||
|
|
||||||
59| else op (elemAt list n) (fold' (n + 1));
|
|
||||||
60| in fold' 0;
|
|
||||||
| ^
|
|
||||||
61|
|
|
||||||
|
|
||||||
… while calling 'fold''
|
|
||||||
|
|
||||||
at /nix/store/z1nvpjx9vd4151vx2krxzmx2p1a36pf9-source/lib/lists.nix:56:15:
|
|
||||||
|
|
||||||
55| len = length list;
|
|
||||||
56| fold' = n:
|
|
||||||
| ^
|
|
||||||
57| if n == len
|
|
||||||
|
|
||||||
… from call site
|
|
||||||
|
|
||||||
at /nix/store/z1nvpjx9vd4151vx2krxzmx2p1a36pf9-source/nixos/modules/system/activation/top-level.nix:48:16:
|
|
||||||
|
|
||||||
47| # makes it bootable. See `activatable-system.nix`.
|
|
||||||
48| baseSystem = pkgs.stdenvNoCC.mkDerivation ({
|
|
||||||
| ^
|
|
||||||
49| name = "nixos-system-${config.system.name}-${config.system.nixos.label}";
|
|
||||||
|
|
||||||
… while calling anonymous lambda
|
|
||||||
|
|
||||||
at /nix/store/z1nvpjx9vd4151vx2krxzmx2p1a36pf9-source/pkgs/stdenv/generic/make-derivation.nix:548:3:
|
|
||||||
|
|
||||||
547| in
|
|
||||||
548| fnOrAttrs:
|
|
||||||
| ^
|
|
||||||
549| if builtins.isFunction fnOrAttrs
|
|
||||||
|
|
||||||
… while calling 'g'
|
|
||||||
|
|
||||||
at /nix/store/z1nvpjx9vd4151vx2krxzmx2p1a36pf9-source/lib/attrsets.nix:629:19:
|
|
||||||
|
|
||||||
628| g =
|
|
||||||
629| name: value:
|
|
||||||
| ^
|
|
||||||
630| if isAttrs value && cond value
|
|
||||||
|
|
||||||
… from call site
|
|
||||||
|
|
||||||
at /nix/store/z1nvpjx9vd4151vx2krxzmx2p1a36pf9-source/lib/attrsets.nix:632:20:
|
|
||||||
|
|
||||||
631| then recurse (path ++ [name]) value
|
|
||||||
632| else f (path ++ [name]) value;
|
|
||||||
| ^
|
|
||||||
633| in mapAttrs g;
|
|
||||||
|
|
||||||
… while calling anonymous lambda
|
|
||||||
|
|
||||||
at /nix/store/z1nvpjx9vd4151vx2krxzmx2p1a36pf9-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.systemBuilderArgs':
|
|
||||||
|
|
||||||
… from call site
|
|
||||||
|
|
||||||
at /nix/store/z1nvpjx9vd4151vx2krxzmx2p1a36pf9-source/lib/modules.nix:844:59:
|
|
||||||
|
|
||||||
843| if isDefined then
|
|
||||||
844| if all (def: type.check def.value) defsFinal then type.merge loc defsFinal
|
|
||||||
| ^
|
|
||||||
845| else let allInvalid = filter (def: ! type.check def.value) defsFinal;
|
|
||||||
|
|
||||||
… while calling 'merge'
|
|
||||||
|
|
||||||
at /nix/store/z1nvpjx9vd4151vx2krxzmx2p1a36pf9-source/lib/types.nix:540:20:
|
|
||||||
|
|
||||||
539| check = isAttrs;
|
|
||||||
540| merge = loc: defs:
|
|
||||||
| ^
|
|
||||||
541| mapAttrs (n: v: v.value) (filterAttrs (n: v: v ? value) (zipAttrsWith (name: defs:
|
|
||||||
|
|
||||||
… from call site
|
|
||||||
|
|
||||||
at /nix/store/z1nvpjx9vd4151vx2krxzmx2p1a36pf9-source/lib/types.nix:541:35:
|
|
||||||
|
|
||||||
540| merge = loc: defs:
|
|
||||||
541| mapAttrs (n: v: v.value) (filterAttrs (n: v: v ? value) (zipAttrsWith (name: defs:
|
|
||||||
| ^
|
|
||||||
542| (mergeDefinitions (loc ++ [name]) elemType defs).optionalValue
|
|
||||||
|
|
||||||
… while calling 'filterAttrs'
|
|
||||||
|
|
||||||
at /nix/store/z1nvpjx9vd4151vx2krxzmx2p1a36pf9-source/lib/attrsets.nix:309:5:
|
|
||||||
|
|
||||||
308| # The attribute set to filter
|
|
||||||
309| set:
|
|
||||||
| ^
|
|
||||||
310| listToAttrs (concatMap (name: let v = set.${name}; in if pred name v then [(nameValuePair name v)] else []) (attrNames set));
|
|
||||||
|
|
||||||
… while calling anonymous lambda
|
|
||||||
|
|
||||||
at /nix/store/z1nvpjx9vd4151vx2krxzmx2p1a36pf9-source/lib/attrsets.nix:310:29:
|
|
||||||
|
|
||||||
309| set:
|
|
||||||
310| listToAttrs (concatMap (name: let v = set.${name}; in if pred name v then [(nameValuePair name v)] else []) (attrNames set));
|
|
||||||
| ^
|
|
||||||
311|
|
|
||||||
|
|
||||||
… from call site
|
|
||||||
|
|
||||||
at /nix/store/z1nvpjx9vd4151vx2krxzmx2p1a36pf9-source/lib/attrsets.nix:310:62:
|
|
||||||
|
|
||||||
309| set:
|
|
||||||
310| listToAttrs (concatMap (name: let v = set.${name}; in if pred name v then [(nameValuePair name v)] else []) (attrNames set));
|
|
||||||
| ^
|
|
||||||
311|
|
|
||||||
|
|
||||||
… while calling anonymous lambda
|
|
||||||
|
|
||||||
at /nix/store/z1nvpjx9vd4151vx2krxzmx2p1a36pf9-source/lib/types.nix:541:51:
|
|
||||||
|
|
||||||
540| merge = loc: defs:
|
|
||||||
541| mapAttrs (n: v: v.value) (filterAttrs (n: v: v ? value) (zipAttrsWith (name: defs:
|
|
||||||
| ^
|
|
||||||
542| (mergeDefinitions (loc ++ [name]) elemType defs).optionalValue
|
|
||||||
|
|
||||||
… while calling anonymous lambda
|
|
||||||
|
|
||||||
at /nix/store/z1nvpjx9vd4151vx2krxzmx2p1a36pf9-source/lib/types.nix:541:86:
|
|
||||||
|
|
||||||
540| merge = loc: defs:
|
|
||||||
541| mapAttrs (n: v: v.value) (filterAttrs (n: v: v ? value) (zipAttrsWith (name: defs:
|
|
||||||
| ^
|
|
||||||
542| (mergeDefinitions (loc ++ [name]) elemType defs).optionalValue
|
|
||||||
|
|
||||||
… while calling anonymous lambda
|
|
||||||
|
|
||||||
at /nix/store/z1nvpjx9vd4151vx2krxzmx2p1a36pf9-source/lib/modules.nix:822:28:
|
|
||||||
|
|
||||||
821| # Process mkMerge and mkIf properties.
|
|
||||||
822| defs' = concatMap (m:
|
|
||||||
| ^
|
|
||||||
823| map (value: { inherit (m) file; inherit value; }) (builtins.addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))
|
|
||||||
|
|
||||||
… while evaluating definitions from `/nix/store/z1nvpjx9vd4151vx2krxzmx2p1a36pf9-source/nixos/modules/system/activation/activatable-system.nix':
|
|
||||||
|
|
||||||
… from call site
|
|
||||||
|
|
||||||
at /nix/store/z1nvpjx9vd4151vx2krxzmx2p1a36pf9-source/lib/modules.nix:823:137:
|
|
||||||
|
|
||||||
822| defs' = concatMap (m:
|
|
||||||
823| map (value: { inherit (m) file; inherit value; }) (builtins.addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))
|
|
||||||
| ^
|
|
||||||
824| ) defs;
|
|
||||||
|
|
||||||
… while calling 'dischargeProperties'
|
|
||||||
|
|
||||||
at /nix/store/z1nvpjx9vd4151vx2krxzmx2p1a36pf9-source/lib/modules.nix:894:25:
|
|
||||||
|
|
||||||
893| */
|
|
||||||
894| dischargeProperties = def:
|
|
||||||
| ^
|
|
||||||
895| if def._type or "" == "merge" then
|
|
||||||
|
|
||||||
… from call site
|
|
||||||
|
|
||||||
at /nix/store/z1nvpjx9vd4151vx2krxzmx2p1a36pf9-source/nixos/modules/system/activation/activation-script.nix:137:18:
|
|
||||||
|
|
||||||
136| apply = set: set // {
|
|
||||||
137| script = systemActivationScript set false;
|
|
||||||
| ^
|
|
||||||
138| };
|
|
||||||
|
|
||||||
… while calling 'systemActivationScript'
|
|
||||||
|
|
||||||
at /nix/store/z1nvpjx9vd4151vx2krxzmx2p1a36pf9-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/z1nvpjx9vd4151vx2krxzmx2p1a36pf9-source/nixos/modules/system/activation/activation-script.nix:49:9:
|
|
||||||
|
|
||||||
48|
|
|
||||||
49| ${textClosureMap id (withDrySnippets) (attrNames withDrySnippets)}
|
|
||||||
| ^
|
|
||||||
50|
|
|
||||||
|
|
||||||
… while calling 'textClosureMap'
|
|
||||||
|
|
||||||
at /nix/store/z1nvpjx9vd4151vx2krxzmx2p1a36pf9-source/lib/strings-with-deps.nix:75:35:
|
|
||||||
|
|
||||||
74|
|
|
||||||
75| textClosureMap = f: predefined: names:
|
|
||||||
| ^
|
|
||||||
76| concatStringsSep "\n" (map f (textClosureList predefined names));
|
|
||||||
|
|
||||||
… while calling 'id'
|
|
||||||
|
|
||||||
at /nix/store/z1nvpjx9vd4151vx2krxzmx2p1a36pf9-source/lib/trivial.nix:14:5:
|
|
||||||
|
|
||||||
13| # The value to return
|
|
||||||
14| x: x;
|
|
||||||
| ^
|
|
||||||
15|
|
|
||||||
|
|
||||||
… while calling 'g'
|
|
||||||
|
|
||||||
at /nix/store/z1nvpjx9vd4151vx2krxzmx2p1a36pf9-source/lib/attrsets.nix:629:19:
|
|
||||||
|
|
||||||
628| g =
|
|
||||||
629| name: value:
|
|
||||||
| ^
|
|
||||||
630| if isAttrs value && cond value
|
|
||||||
|
|
||||||
… from call site
|
|
||||||
|
|
||||||
at /nix/store/z1nvpjx9vd4151vx2krxzmx2p1a36pf9-source/lib/attrsets.nix:632:20:
|
|
||||||
|
|
||||||
631| then recurse (path ++ [name]) value
|
|
||||||
632| else f (path ++ [name]) value;
|
|
||||||
| ^
|
|
||||||
633| in mapAttrs g;
|
|
||||||
|
|
||||||
… while calling anonymous lambda
|
|
||||||
|
|
||||||
at /nix/store/z1nvpjx9vd4151vx2krxzmx2p1a36pf9-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.activationScripts.etc.text':
|
|
||||||
|
|
||||||
… while calling anonymous lambda
|
|
||||||
|
|
||||||
at /nix/store/z1nvpjx9vd4151vx2krxzmx2p1a36pf9-source/lib/modules.nix:822:28:
|
|
||||||
|
|
||||||
821| # Process mkMerge and mkIf properties.
|
|
||||||
822| defs' = concatMap (m:
|
|
||||||
| ^
|
|
||||||
823| map (value: { inherit (m) file; inherit value; }) (builtins.addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))
|
|
||||||
|
|
||||||
… while evaluating definitions from `/nix/store/z1nvpjx9vd4151vx2krxzmx2p1a36pf9-source/nixos/modules/system/etc/etc-activation.nix':
|
|
||||||
|
|
||||||
… from call site
|
|
||||||
|
|
||||||
at /nix/store/z1nvpjx9vd4151vx2krxzmx2p1a36pf9-source/lib/modules.nix:823:137:
|
|
||||||
|
|
||||||
822| defs' = concatMap (m:
|
|
||||||
823| map (value: { inherit (m) file; inherit value; }) (builtins.addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))
|
|
||||||
| ^
|
|
||||||
824| ) defs;
|
|
||||||
|
|
||||||
… while calling 'dischargeProperties'
|
|
||||||
|
|
||||||
at /nix/store/z1nvpjx9vd4151vx2krxzmx2p1a36pf9-source/lib/modules.nix:894:25:
|
|
||||||
|
|
||||||
893| */
|
|
||||||
894| dischargeProperties = def:
|
|
||||||
| ^
|
|
||||||
895| if def._type or "" == "merge" then
|
|
||||||
|
|
||||||
… while calling anonymous lambda
|
|
||||||
|
|
||||||
at /nix/store/z1nvpjx9vd4151vx2krxzmx2p1a36pf9-source/lib/attrsets.nix:846:24:
|
|
||||||
|
|
||||||
845| let f = attrPath:
|
|
||||||
846| zipAttrsWith (n: values:
|
|
||||||
| ^
|
|
||||||
847| let here = attrPath ++ [n]; in
|
|
||||||
|
|
||||||
… while calling anonymous lambda
|
|
||||||
|
|
||||||
at /nix/store/z1nvpjx9vd4151vx2krxzmx2p1a36pf9-source/lib/types.nix:565:29:
|
|
||||||
|
|
||||||
564| merge = loc: defs:
|
|
||||||
565| zipAttrsWith (name: defs:
|
|
||||||
| ^
|
|
||||||
566| let merged = mergeDefinitions (loc ++ [name]) elemType defs;
|
|
||||||
|
|
||||||
… while calling anonymous lambda
|
|
||||||
|
|
||||||
at /nix/store/z1nvpjx9vd4151vx2krxzmx2p1a36pf9-source/lib/modules.nix:822:28:
|
|
||||||
|
|
||||||
821| # Process mkMerge and mkIf properties.
|
|
||||||
822| defs' = concatMap (m:
|
|
||||||
| ^
|
|
||||||
823| map (value: { inherit (m) file; inherit value; }) (builtins.addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))
|
|
||||||
|
|
||||||
… while evaluating definitions from `/nix/store/z1nvpjx9vd4151vx2krxzmx2p1a36pf9-source/nixos/modules/system/etc/etc.nix':
|
|
||||||
|
|
||||||
… from call site
|
|
||||||
|
|
||||||
at /nix/store/z1nvpjx9vd4151vx2krxzmx2p1a36pf9-source/lib/modules.nix:823:137:
|
|
||||||
|
|
||||||
822| defs' = concatMap (m:
|
|
||||||
823| map (value: { inherit (m) file; inherit value; }) (builtins.addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))
|
|
||||||
| ^
|
|
||||||
824| ) defs;
|
|
||||||
|
|
||||||
… while calling 'dischargeProperties'
|
|
||||||
|
|
||||||
at /nix/store/z1nvpjx9vd4151vx2krxzmx2p1a36pf9-source/lib/modules.nix:894:25:
|
|
||||||
|
|
||||||
893| */
|
|
||||||
894| dischargeProperties = def:
|
|
||||||
| ^
|
|
||||||
895| if def._type or "" == "merge" then
|
|
||||||
|
|
||||||
… from call site
|
|
||||||
|
|
||||||
at /nix/store/z1nvpjx9vd4151vx2krxzmx2p1a36pf9-source/lib/attrsets.nix:88:39:
|
|
||||||
|
|
||||||
87| then value
|
|
||||||
88| else { ${elemAt attrPath n} = atDepth (n + 1); };
|
|
||||||
| ^
|
|
||||||
89| in atDepth 0;
|
|
||||||
|
|
||||||
… while calling 'atDepth'
|
|
||||||
|
|
||||||
at /nix/store/z1nvpjx9vd4151vx2krxzmx2p1a36pf9-source/lib/attrsets.nix:85:17:
|
|
||||||
|
|
||||||
84| len = length attrPath;
|
|
||||||
85| atDepth = n:
|
|
||||||
| ^
|
|
||||||
86| if n == len
|
|
||||||
|
|
||||||
… while evaluating derivation 'etc'
|
|
||||||
whose name attribute is located at /nix/store/z1nvpjx9vd4151vx2krxzmx2p1a36pf9-source/pkgs/stdenv/generic/make-derivation.nix:300:7
|
|
||||||
|
|
||||||
… while evaluating attribute 'buildCommand' of derivation 'etc'
|
|
||||||
|
|
||||||
at /nix/store/z1nvpjx9vd4151vx2krxzmx2p1a36pf9-source/pkgs/build-support/trivial-builders/default.nix:87:14:
|
|
||||||
|
|
||||||
86| enableParallelBuilding = true;
|
|
||||||
87| inherit buildCommand name;
|
|
||||||
| ^
|
|
||||||
88| passAsFile = [ "buildCommand" ]
|
|
||||||
|
|
||||||
… from call site
|
|
||||||
|
|
||||||
at /nix/store/z1nvpjx9vd4151vx2krxzmx2p1a36pf9-source/nixos/modules/system/etc/etc.nix:54:7:
|
|
||||||
|
|
||||||
53| mkdir -p "$out/etc"
|
|
||||||
54| ${concatMapStringsSep "\n" (etcEntry: escapeShellArgs [
|
|
||||||
| ^
|
|
||||||
55| "makeEtcEntry"
|
|
||||||
|
|
||||||
… while calling 'concatMapStringsSep'
|
|
||||||
|
|
||||||
at /nix/store/z1nvpjx9vd4151vx2krxzmx2p1a36pf9-source/lib/strings.nix:117:5:
|
|
||||||
|
|
||||||
116| # List of input strings
|
|
||||||
117| list: concatStringsSep sep (map f list);
|
|
||||||
| ^
|
|
||||||
118|
|
|
||||||
|
|
||||||
… while calling anonymous lambda
|
|
||||||
|
|
||||||
at /nix/store/z1nvpjx9vd4151vx2krxzmx2p1a36pf9-source/nixos/modules/system/etc/etc.nix:54:33:
|
|
||||||
|
|
||||||
53| mkdir -p "$out/etc"
|
|
||||||
54| ${concatMapStringsSep "\n" (etcEntry: escapeShellArgs [
|
|
||||||
| ^
|
|
||||||
55| "makeEtcEntry"
|
|
||||||
|
|
||||||
… from call site
|
|
||||||
|
|
||||||
at /nix/store/z1nvpjx9vd4151vx2krxzmx2p1a36pf9-source/nixos/modules/system/etc/etc.nix:54:43:
|
|
||||||
|
|
||||||
53| mkdir -p "$out/etc"
|
|
||||||
54| ${concatMapStringsSep "\n" (etcEntry: escapeShellArgs [
|
|
||||||
| ^
|
|
||||||
55| "makeEtcEntry"
|
|
||||||
|
|
||||||
… while calling 'concatMapStringsSep'
|
|
||||||
|
|
||||||
at /nix/store/z1nvpjx9vd4151vx2krxzmx2p1a36pf9-source/lib/strings.nix:117:5:
|
|
||||||
|
|
||||||
116| # List of input strings
|
|
||||||
117| list: concatStringsSep sep (map f list);
|
|
||||||
| ^
|
|
||||||
118|
|
|
||||||
|
|
||||||
… while calling 'escapeShellArg'
|
|
||||||
|
|
||||||
at /nix/store/z1nvpjx9vd4151vx2krxzmx2p1a36pf9-source/lib/strings.nix:429:20:
|
|
||||||
|
|
||||||
428| */
|
|
||||||
429| escapeShellArg = arg: "'${replaceStrings ["'"] ["'\\''"] (toString arg)}'";
|
|
||||||
| ^
|
|
||||||
430|
|
|
||||||
|
|
||||||
… while calling 'g'
|
|
||||||
|
|
||||||
at /nix/store/z1nvpjx9vd4151vx2krxzmx2p1a36pf9-source/lib/attrsets.nix:629:19:
|
|
||||||
|
|
||||||
628| g =
|
|
||||||
629| name: value:
|
|
||||||
| ^
|
|
||||||
630| if isAttrs value && cond value
|
|
||||||
|
|
||||||
… from call site
|
|
||||||
|
|
||||||
at /nix/store/z1nvpjx9vd4151vx2krxzmx2p1a36pf9-source/lib/attrsets.nix:632:20:
|
|
||||||
|
|
||||||
631| then recurse (path ++ [name]) value
|
|
||||||
632| else f (path ++ [name]) value;
|
|
||||||
| ^
|
|
||||||
633| in mapAttrs g;
|
|
||||||
|
|
||||||
… while calling anonymous lambda
|
|
||||||
|
|
||||||
at /nix/store/z1nvpjx9vd4151vx2krxzmx2p1a36pf9-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 `environment.etc."iproute2/bpf_pinning".source':
|
|
||||||
|
|
||||||
… while calling anonymous lambda
|
|
||||||
|
|
||||||
at /nix/store/z1nvpjx9vd4151vx2krxzmx2p1a36pf9-source/lib/modules.nix:822:28:
|
|
||||||
|
|
||||||
821| # Process mkMerge and mkIf properties.
|
|
||||||
822| defs' = concatMap (m:
|
|
||||||
| ^
|
|
||||||
823| map (value: { inherit (m) file; inherit value; }) (builtins.addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))
|
|
||||||
|
|
||||||
… while evaluating definitions from `/nix/store/z1nvpjx9vd4151vx2krxzmx2p1a36pf9-source/nixos/modules/system/etc/etc.nix':
|
|
||||||
|
|
||||||
… from call site
|
|
||||||
|
|
||||||
at /nix/store/z1nvpjx9vd4151vx2krxzmx2p1a36pf9-source/lib/modules.nix:823:137:
|
|
||||||
|
|
||||||
822| defs' = concatMap (m:
|
|
||||||
823| map (value: { inherit (m) file; inherit value; }) (builtins.addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))
|
|
||||||
| ^
|
|
||||||
824| ) defs;
|
|
||||||
|
|
||||||
… while calling 'dischargeProperties'
|
|
||||||
|
|
||||||
at /nix/store/z1nvpjx9vd4151vx2krxzmx2p1a36pf9-source/lib/modules.nix:894:25:
|
|
||||||
|
|
||||||
893| */
|
|
||||||
894| dischargeProperties = def:
|
|
||||||
| ^
|
|
||||||
895| if def._type or "" == "merge" then
|
|
||||||
|
|
||||||
… while calling 'g'
|
|
||||||
|
|
||||||
at /nix/store/z1nvpjx9vd4151vx2krxzmx2p1a36pf9-source/lib/attrsets.nix:629:19:
|
|
||||||
|
|
||||||
628| g =
|
|
||||||
629| name: value:
|
|
||||||
| ^
|
|
||||||
630| if isAttrs value && cond value
|
|
||||||
|
|
||||||
… from call site
|
|
||||||
|
|
||||||
at /nix/store/z1nvpjx9vd4151vx2krxzmx2p1a36pf9-source/lib/attrsets.nix:632:20:
|
|
||||||
|
|
||||||
631| then recurse (path ++ [name]) value
|
|
||||||
632| else f (path ++ [name]) value;
|
|
||||||
| ^
|
|
||||||
633| in mapAttrs g;
|
|
||||||
|
|
||||||
… while calling anonymous lambda
|
|
||||||
|
|
||||||
at /nix/store/z1nvpjx9vd4151vx2krxzmx2p1a36pf9-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 `environment.etc."iproute2/bpf_pinning".text':
|
|
||||||
|
|
||||||
… while calling anonymous lambda
|
|
||||||
|
|
||||||
at /nix/store/z1nvpjx9vd4151vx2krxzmx2p1a36pf9-source/lib/modules.nix:822:28:
|
|
||||||
|
|
||||||
821| # Process mkMerge and mkIf properties.
|
|
||||||
822| defs' = concatMap (m:
|
|
||||||
| ^
|
|
||||||
823| map (value: { inherit (m) file; inherit value; }) (builtins.addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))
|
|
||||||
|
|
||||||
… while evaluating definitions from `/nix/store/z1nvpjx9vd4151vx2krxzmx2p1a36pf9-source/nixos/modules/config/iproute2.nix':
|
|
||||||
|
|
||||||
… from call site
|
|
||||||
|
|
||||||
at /nix/store/z1nvpjx9vd4151vx2krxzmx2p1a36pf9-source/lib/modules.nix:823:137:
|
|
||||||
|
|
||||||
822| defs' = concatMap (m:
|
|
||||||
823| map (value: { inherit (m) file; inherit value; }) (builtins.addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))
|
|
||||||
| ^
|
|
||||||
824| ) defs;
|
|
||||||
|
|
||||||
… while calling 'dischargeProperties'
|
|
||||||
|
|
||||||
at /nix/store/z1nvpjx9vd4151vx2krxzmx2p1a36pf9-source/lib/modules.nix:894:25:
|
|
||||||
|
|
||||||
893| */
|
|
||||||
894| dischargeProperties = def:
|
|
||||||
| ^
|
|
||||||
895| if def._type or "" == "merge" then
|
|
||||||
|
|
||||||
… from call site
|
|
||||||
|
|
||||||
at /nix/store/z1nvpjx9vd4151vx2krxzmx2p1a36pf9-source/nixos/modules/config/iproute2.nix:21:70:
|
|
||||||
|
|
||||||
20| config = mkIf cfg.enable {
|
|
||||||
21| environment.etc."iproute2/bpf_pinning" = { mode = "0644"; text = fileContents "${pkgs.iproute2}/etc/iproute2/bpf_pinning"; };
|
|
||||||
| ^
|
|
||||||
22| environment.etc."iproute2/ematch_map" = { mode = "0644"; text = fileContents "${pkgs.iproute2}/etc/iproute2/ematch_map"; };
|
|
||||||
|
|
||||||
… while calling 'fileContents'
|
|
||||||
|
|
||||||
at /nix/store/z1nvpjx9vd4151vx2krxzmx2p1a36pf9-source/lib/strings.nix:1139:18:
|
|
||||||
|
|
||||||
1138| */
|
|
||||||
1139| fileContents = file: removeSuffix "\n" (readFile file);
|
|
||||||
| ^
|
|
||||||
1140|
|
|
||||||
|
|
||||||
… from call site
|
|
||||||
|
|
||||||
at /nix/store/z1nvpjx9vd4151vx2krxzmx2p1a36pf9-source/lib/strings.nix:1139:24:
|
|
||||||
|
|
||||||
1138| */
|
|
||||||
1139| fileContents = file: removeSuffix "\n" (readFile file);
|
|
||||||
| ^
|
|
||||||
1140|
|
|
||||||
|
|
||||||
… while calling 'removeSuffix'
|
|
||||||
|
|
||||||
at /nix/store/z1nvpjx9vd4151vx2krxzmx2p1a36pf9-source/lib/strings.nix:653:5:
|
|
||||||
|
|
||||||
652| # Input string
|
|
||||||
653| str:
|
|
||||||
| ^
|
|
||||||
654| # Before 23.05, paths would be copied to the store before converting them
|
|
||||||
|
|
||||||
… from call site
|
|
||||||
|
|
||||||
at /nix/store/z1nvpjx9vd4151vx2krxzmx2p1a36pf9-source/lib/strings.nix:656:5:
|
|
||||||
|
|
||||||
655| # to strings and comparing. This was surprising and confusing.
|
|
||||||
656| warnIf
|
|
||||||
| ^
|
|
||||||
657| (isPath suffix)
|
|
||||||
|
|
||||||
… while calling anonymous lambda
|
|
||||||
|
|
||||||
at /nix/store/z1nvpjx9vd4151vx2krxzmx2p1a36pf9-source/lib/trivial.nix:357:50:
|
|
||||||
|
|
||||||
356| */
|
|
||||||
357| warnIf = cond: msg: if cond then warn msg else x: x;
|
|
||||||
| ^
|
|
||||||
358|
|
|
||||||
|
|
||||||
error: getting status of '/nix/store/fijy0dlyk5b06ay7nxg88lr7bp13hpjb-iproute2-6.5.0/etc': No such file or directory
|
|
12
flake.lock
12
flake.lock
@ -7,11 +7,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1695738267,
|
"lastModified": 1701728041,
|
||||||
"narHash": "sha256-LTNAbTQ96xSj17xBfsFrFS9i56U2BMLpD0BduhrsVkU=",
|
"narHash": "sha256-x0pyrI1vC8evVDxCxyO6olOyr4wlFg9+VS3C3p4xFYQ=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "home-manager",
|
"repo": "home-manager",
|
||||||
"rev": "0f4e5b4999fd6a42ece5da8a3a2439a50e48e486",
|
"rev": "ac7216918cd65f3824ba7817dea8f22e61221eaf",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@ -22,11 +22,11 @@
|
|||||||
},
|
},
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1701253981,
|
"lastModified": 1701718080,
|
||||||
"narHash": "sha256-ztaDIyZ7HrTAfEEUt9AtTDNoCYxUdSd6NrRHaYOIxtk=",
|
"narHash": "sha256-6ovz0pG76dE0P170pmmZex1wWcQoeiomUZGggfH9XPs=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "e92039b55bcd58469325ded85d4f58dd5a4eaf58",
|
"rev": "2c7f3c0fb7c08a0814627611d9d7d45ab6d75335",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -61,6 +61,9 @@
|
|||||||
set splitright
|
set splitright
|
||||||
set tabstop=2
|
set tabstop=2
|
||||||
set shiftwidth=2
|
set shiftwidth=2
|
||||||
|
if filereadable(expand(".vim-project"))
|
||||||
|
source .vim-project
|
||||||
|
endif
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
programs.lf = {
|
programs.lf = {
|
||||||
|
@ -3,7 +3,7 @@ test -z "$DBUS_SESSION_BUS_ADDRESS" && eval $(dbus-launch --exit-with-session --
|
|||||||
systemctl --user import-environment DISPLAY XAUTHORITY
|
systemctl --user import-environment DISPLAY XAUTHORITY
|
||||||
command -v dbus-update-activation-environment >/dev/null 2>&1 && dbus-update-activation-environment DISPLAY XAUTHORITY
|
command -v dbus-update-activation-environment >/dev/null 2>&1 && dbus-update-activation-environment DISPLAY XAUTHORITY
|
||||||
xrdb ~/.Xresources &
|
xrdb ~/.Xresources &
|
||||||
xrandr --output DP-1 --primary --mode 2560x1440 --rotate normal --rate "164.99" --output DP-2 --mode 2560x1440 --rotate left --rate "164.99" --right-of DP-1 &
|
xrandr --output DP-1 --primary --mode 2560x1440 --pos 0x560 --rotate normal --rate "164.99" --output DP-2 --mode 2560x1440 --pos 2560x0 --rotate left --rate "164.99" --output DP-3 --off --output HDMI-1 --off --output HDMI-1-2 --off &
|
||||||
picom &
|
picom &
|
||||||
hsetroot -solid "#282a36" &
|
hsetroot -solid "#282a36" &
|
||||||
xbanish &
|
xbanish &
|
||||||
|
@ -17,39 +17,21 @@ in
|
|||||||
efi.efiSysMountPoint = "/boot/efi";
|
efi.efiSysMountPoint = "/boot/efi";
|
||||||
timeout = 2;
|
timeout = 2;
|
||||||
};
|
};
|
||||||
|
|
||||||
# Hardware-configuration edits
|
|
||||||
kernel.sysctl."net.ipv4.ip_forward" = 1;
|
|
||||||
|
|
||||||
# Clean /tmp at boot
|
|
||||||
tmp.cleanOnBoot = true;
|
tmp.cleanOnBoot = true;
|
||||||
};
|
};
|
||||||
networking = {
|
networking = {
|
||||||
hostName = "${hostname}"; # Define your hostname.
|
hostName = "${hostname}";
|
||||||
firewall = {
|
firewall = {
|
||||||
# To disable the firewall altogether:
|
|
||||||
# enable = false;
|
|
||||||
allowedTCPPorts = [ 445 139 ];
|
allowedTCPPorts = [ 445 139 ];
|
||||||
allowedUDPPorts = [ 137 138 ];
|
allowedUDPPorts = [ 137 138 ];
|
||||||
};
|
};
|
||||||
# Proxy configuration
|
|
||||||
# proxy = {
|
|
||||||
# default = "http://user:password@proxy:port/";
|
|
||||||
# noProxy = "127.0.0.1,localhost,internal.domain";
|
|
||||||
# };
|
|
||||||
};
|
|
||||||
users.users.${user.name} = {
|
|
||||||
extraGroups = [ "davfs2" "libvirtd" "transmission" ];
|
|
||||||
packages = with pkgs; [
|
|
||||||
mixxx
|
|
||||||
virt-manager
|
|
||||||
];
|
|
||||||
};
|
};
|
||||||
environment = {
|
environment = {
|
||||||
systemPackages = with pkgs; [
|
systemPackages = with pkgs; [
|
||||||
virtiofsd
|
virtiofsd
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
virtualisation.libvirtd.enable = true;
|
||||||
services = {
|
services = {
|
||||||
davfs2 = {
|
davfs2 = {
|
||||||
enable = true;
|
enable = true;
|
||||||
@ -66,24 +48,17 @@ in
|
|||||||
enable = true;
|
enable = true;
|
||||||
mountOnMedia = true;
|
mountOnMedia = true;
|
||||||
};
|
};
|
||||||
# Enable automatic login for the user.
|
borgbackup = {
|
||||||
# getty.autologinUser = "${user.name}";
|
jobs."daily" = {
|
||||||
};
|
|
||||||
|
|
||||||
virtualisation.libvirtd.enable = true;
|
|
||||||
|
|
||||||
# Borg backup configuration
|
|
||||||
services.borgbackup.jobs."daily" = {
|
|
||||||
paths = [
|
paths = [
|
||||||
"/home"
|
"/home"
|
||||||
#"/var"
|
"/var"
|
||||||
];
|
];
|
||||||
exclude = [
|
exclude = [
|
||||||
"/home/*/go/bin"
|
"/home/*/go/bin"
|
||||||
"/home/*/go/pkg"
|
"/home/*/go/pkg"
|
||||||
];
|
];
|
||||||
repo = "/mnt/daily/buckwheat";
|
repo = "/mnt/archive/buckwheat";
|
||||||
#repo = "/mnt/backups/buckwheat";
|
|
||||||
encryption = {
|
encryption = {
|
||||||
mode = "repokey-blake2";
|
mode = "repokey-blake2";
|
||||||
passCommand = "cat /root/borgbackup/passphrase";
|
passCommand = "cat /root/borgbackup/passphrase";
|
||||||
@ -91,41 +66,17 @@ in
|
|||||||
compression = "auto,lzma";
|
compression = "auto,lzma";
|
||||||
startAt = "daily";
|
startAt = "daily";
|
||||||
prune.keep = {
|
prune.keep = {
|
||||||
within = "7d";
|
within = "30d";
|
||||||
#within = "14d";
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
services.borgbackup.jobs."weekly" = {
|
};
|
||||||
paths = [
|
};
|
||||||
"/home"
|
programs.virt-manager.enable = true;
|
||||||
|
users.users.${user.name} = {
|
||||||
|
extraGroups = [ "davfs2" "libvirtd" "transmission" ];
|
||||||
|
packages = with pkgs; [
|
||||||
|
mixxx
|
||||||
|
polychromatic
|
||||||
];
|
];
|
||||||
exclude = [
|
|
||||||
"/home/*/go/bin"
|
|
||||||
"/home/*/go/pkg"
|
|
||||||
];
|
|
||||||
repo = "/mnt/weekly/buckwheat";
|
|
||||||
encryption = {
|
|
||||||
mode = "repokey-blake2";
|
|
||||||
passCommand = "cat /root/borgbackup/passphrase";
|
|
||||||
};
|
};
|
||||||
compression = "auto,lzma";
|
|
||||||
startAt = "weekly";
|
|
||||||
};
|
|
||||||
#services.borgbackup.jobs."borgbase" = {
|
|
||||||
# paths = [
|
|
||||||
# "/home"
|
|
||||||
# ];
|
|
||||||
# exclude = [
|
|
||||||
# "/home/*/go/bin"
|
|
||||||
# "/home/*/go/pkg"
|
|
||||||
# ];
|
|
||||||
# repo = "<repo_hash>.repo.borgbase.com:repo";
|
|
||||||
# encryption = {
|
|
||||||
# mode = "repokey-blake2";
|
|
||||||
# passCommand = "cat /root/borgbackup/passphrase";
|
|
||||||
# };
|
|
||||||
# environment.BORG_RSH = "ssh -i /root/borgbackup/ssh_key";
|
|
||||||
# compression = "auto,lzma";
|
|
||||||
# startAt = "daily";
|
|
||||||
#};
|
|
||||||
}
|
}
|
||||||
|
@ -1,54 +1,32 @@
|
|||||||
# Buckwheat hardware-configuration.nix
|
# Buckwheat hardware-configuration.nix
|
||||||
{ config, lib, pkgs, modulesPath, ... }:
|
{ config, lib, pkgs, modulesPath, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
imports =
|
imports = [
|
||||||
[ (modulesPath + "/installer/scan/not-detected.nix")
|
(modulesPath + "/installer/scan/not-detected.nix")
|
||||||
];
|
];
|
||||||
|
|
||||||
boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "nvme" "uas" "usb_storage" "usbhid" "sd_mod" ];
|
boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "nvme" "uas" "usb_storage" "usbhid" "sd_mod" ];
|
||||||
boot.initrd.kernelModules = [ "amdgpu" ];
|
boot.initrd.kernelModules = [ "amdgpu" ];
|
||||||
boot.kernelModules = [ "kvm-intel" ];
|
boot.kernelModules = [ "kvm-intel" ];
|
||||||
boot.kernelPackages = pkgs.linuxPackages_latest;
|
boot.kernelPackages = pkgs.linuxPackages_latest;
|
||||||
|
boot.kernel.sysctl."net.ipv4.ip_forward" = 1;
|
||||||
boot.extraModulePackages = [ ];
|
boot.extraModulePackages = [ ];
|
||||||
|
|
||||||
fileSystems."/" = {
|
fileSystems."/" = {
|
||||||
device = "/dev/disk/by-uuid/c9833e85-0ea9-45a9-b65d-039c8c4f71f3";
|
device = "/dev/disk/by-uuid/c9833e85-0ea9-45a9-b65d-039c8c4f71f3";
|
||||||
fsType = "ext4";
|
fsType = "ext4";
|
||||||
};
|
};
|
||||||
|
|
||||||
fileSystems."/boot/efi" = {
|
fileSystems."/boot/efi" = {
|
||||||
device = "/dev/disk/by-uuid/5E0D-1487";
|
device = "/dev/disk/by-uuid/5E0D-1487";
|
||||||
fsType = "vfat";
|
fsType = "vfat";
|
||||||
};
|
};
|
||||||
|
fileSystems."/home" = {
|
||||||
#fileSystems."/mnt/home" = {
|
device = "/dev/disk/by-uuid/eab792a7-ffd3-4963-9b9a-fd0c7dd63cf8";
|
||||||
# device = "";
|
|
||||||
# fsType = "ext4";
|
|
||||||
#};
|
|
||||||
|
|
||||||
#fileSystems."/mnt/backups" = {
|
|
||||||
# device = "";
|
|
||||||
# fsType = "ext4";
|
|
||||||
#};
|
|
||||||
|
|
||||||
fileSystems."/mnt/daily" = {
|
|
||||||
device = "/dev/disk/by-uuid/bfdd61f6-2d26-4140-94ac-e60c21636dde";
|
|
||||||
fsType = "ext4";
|
fsType = "ext4";
|
||||||
};
|
};
|
||||||
|
fileSystems."/mnt/archive" = {
|
||||||
fileSystems."/mnt/weekly" = {
|
device = "/dev/disk/by-uuid/9c89ad29-6fba-47b7-b239-09e7ed7eb49f";
|
||||||
device = "/dev/disk/by-uuid/56f7fd65-bf5d-4ce6-830a-ea8fbf6610af";
|
|
||||||
fsType = "ext4";
|
fsType = "ext4";
|
||||||
};
|
};
|
||||||
|
|
||||||
fileSystems."/mnt/videos" = {
|
|
||||||
device = "/dev/disk/by-uuid/e1f9cf9a-4147-4849-83e2-4baa342b6400";
|
|
||||||
fsType = "ext4";
|
|
||||||
};
|
|
||||||
|
|
||||||
swapDevices = [ ];
|
swapDevices = [ ];
|
||||||
|
|
||||||
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
|
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
|
||||||
# (the default) this is the recommended approach. When using systemd-networkd it's
|
# (the default) this is the recommended approach. When using systemd-networkd it's
|
||||||
# still possible to use this option, but it's recommended to use it in conjunction
|
# still possible to use this option, but it's recommended to use it in conjunction
|
||||||
@ -61,7 +39,6 @@
|
|||||||
# networking.interfaces.virbr3.useDHCP = lib.mkDefault true;
|
# networking.interfaces.virbr3.useDHCP = lib.mkDefault true;
|
||||||
# networking.interfaces.wg-mullvad.useDHCP = lib.mkDefault true;
|
# networking.interfaces.wg-mullvad.useDHCP = lib.mkDefault true;
|
||||||
# networking.interfaces.wlo1.useDHCP = lib.mkDefault true;
|
# networking.interfaces.wlo1.useDHCP = lib.mkDefault true;
|
||||||
|
|
||||||
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
||||||
powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
|
powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
|
||||||
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
||||||
|
BIN
nixos.qcow2
BIN
nixos.qcow2
Binary file not shown.
@ -49,6 +49,7 @@
|
|||||||
settings = {
|
settings = {
|
||||||
PasswordAuthentication = false;
|
PasswordAuthentication = false;
|
||||||
KbdInteractiveAuthentication = false;
|
KbdInteractiveAuthentication = false;
|
||||||
|
PermitRootLogin = "no";
|
||||||
};
|
};
|
||||||
allowSFTP = false; # Don't set this if you need sftp
|
allowSFTP = false; # Don't set this if you need sftp
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
|
@ -5,6 +5,7 @@
|
|||||||
catgirl
|
catgirl
|
||||||
discord
|
discord
|
||||||
halloy
|
halloy
|
||||||
|
profanity
|
||||||
signal-desktop
|
signal-desktop
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
@ -98,10 +98,10 @@
|
|||||||
mdp
|
mdp
|
||||||
mediainfo
|
mediainfo
|
||||||
nb
|
nb
|
||||||
|
nom
|
||||||
oed
|
oed
|
||||||
pdfgrep
|
pdfgrep
|
||||||
phetch
|
phetch
|
||||||
profanity
|
|
||||||
recutils
|
recutils
|
||||||
shellcheck
|
shellcheck
|
||||||
ssss
|
ssss
|
||||||
|
@ -2,10 +2,11 @@
|
|||||||
{ config, lib, pkgs, inputs, user, ... }:
|
{ config, lib, pkgs, inputs, user, ... }:
|
||||||
{
|
{
|
||||||
users.users.${user.name}.packages = with pkgs; [
|
users.users.${user.name}.packages = with pkgs; [
|
||||||
|
claws-mail
|
||||||
ledger
|
ledger
|
||||||
libreoffice
|
libreoffice
|
||||||
pandoc
|
pandoc
|
||||||
pdftk
|
pdftk
|
||||||
sc-im
|
#sc-im
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
14
shell.nix
14
shell.nix
@ -1,14 +0,0 @@
|
|||||||
let
|
|
||||||
nixpkgs = fetchTarball "https://github.com/NixOS/nixpkgs/tarball/nixos-23.05";
|
|
||||||
pkgs = import nixpkgs { config = {}; overlays = []; };
|
|
||||||
in
|
|
||||||
|
|
||||||
pkgs.mkShell {
|
|
||||||
packages = with pkgs; [
|
|
||||||
cowsay
|
|
||||||
];
|
|
||||||
GIT_EDITOR = "${pkgs.neovim}/bin/nvim";
|
|
||||||
shellHook = ''
|
|
||||||
git status
|
|
||||||
'';
|
|
||||||
}
|
|
Loading…
Reference in New Issue
Block a user