359 current 2024-08-17 23:45:43 24.05.3642.883180e6550c 6.6.44 *
This commit is contained in:
parent
3384ae96ab
commit
ca0b8e2b26
@ -884,6 +884,7 @@ valign = bottom
|
||||
mpv
|
||||
killall
|
||||
zip
|
||||
xfce
|
||||
];
|
||||
|
||||
fonts.packages = with pkgs; [
|
||||
|
@ -2,7 +2,7 @@ sudo emacs /etc/nixos/configuration.nix -nw
|
||||
sudo nixos-rebuild switch &>nixos-switch.log || (
|
||||
cat nixos-switch.log | grep --color error && false)
|
||||
gen=$(nixos-rebuild list-generations | grep current)
|
||||
sudo cp /etc/nixos/configuration.nix .
|
||||
sudo cp /etc/nixos/configuration.nix $HOME/media/Code/git/nixos
|
||||
git add .
|
||||
git commit -m "$gen"
|
||||
if grep -q "error" nixos-switch.log; then
|
||||
|
@ -1,7 +1,25 @@
|
||||
building Nix...
|
||||
building the system configuration...
|
||||
activating the configuration...
|
||||
setting up /etc...
|
||||
reloading user units for lightdm...
|
||||
reloading user units for deadvey...
|
||||
restarting sysinit-reactivation.target
|
||||
error:
|
||||
… while calling the 'head' builtin
|
||||
|
||||
at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/attrsets.nix:1575:11:
|
||||
|
||||
1574| || pred here (elemAt values 1) (head values) then
|
||||
1575| head values
|
||||
| ^
|
||||
1576| else
|
||||
|
||||
… while evaluating the attribute 'value'
|
||||
|
||||
at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:809:9:
|
||||
|
||||
808| in warnDeprecation opt //
|
||||
809| { value = builtins.addErrorContext "while evaluating the option `${showOption loc}':" value;
|
||||
| ^
|
||||
810| inherit (res.defsFinal') highestPrio;
|
||||
|
||||
(stack trace truncated; use '--show-trace' to show the full trace)
|
||||
|
||||
error: A definition for option `environment.systemPackages."[definition 1-entry 43]"' is not of type `package'. Definition values:
|
||||
- In `/etc/nixos/configuration.nix'
|
||||
|
Loading…
x
Reference in New Issue
Block a user