359 current 2024-08-17 23:45:43 24.05.3642.883180e6550c 6.6.44 *

This commit is contained in:
deadvey 2024-08-18 00:11:56 +01:00
parent 3384ae96ab
commit ca0b8e2b26
3 changed files with 25 additions and 6 deletions

View File

@ -884,6 +884,7 @@ valign = bottom
mpv mpv
killall killall
zip zip
xfce
]; ];
fonts.packages = with pkgs; [ fonts.packages = with pkgs; [

View File

@ -2,7 +2,7 @@ sudo emacs /etc/nixos/configuration.nix -nw
sudo nixos-rebuild switch &>nixos-switch.log || ( sudo nixos-rebuild switch &>nixos-switch.log || (
cat nixos-switch.log | grep --color error && false) cat nixos-switch.log | grep --color error && false)
gen=$(nixos-rebuild list-generations | grep current) 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 add .
git commit -m "$gen" git commit -m "$gen"
if grep -q "error" nixos-switch.log; then if grep -q "error" nixos-switch.log; then

View File

@ -1,7 +1,25 @@
building Nix... building Nix...
building the system configuration... building the system configuration...
activating the configuration... error:
setting up /etc... … while calling the 'head' builtin
reloading user units for lightdm...
reloading user units for deadvey... at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/attrsets.nix:1575:11:
restarting sysinit-reactivation.target
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'