1r6z93vzsaqqmyjj8mc9mdnvbpbvdzh2

This commit is contained in:
itsscb 2024-05-14 21:45:43 +02:00
parent 9018fd53fd
commit d98d049084
2 changed files with 5 additions and 22 deletions

View File

@ -25,10 +25,6 @@ sudo rm nixos-switch.log
# A rebuild script that commits on a successful build
set -e
# Autoformat your nix files
sudo alejandra . &>/dev/null \
|| ( sudo alejandra . ; echo "formatting failed!" && exit 1)
# Shows your changes
sudo git diff -U0 '*.nix'
@ -37,6 +33,10 @@ echo -n "NixOS - Testing new configuration..."
# Rebuild, output simplified errors, log trackebacks
sudo nixos-rebuild dry-build &>nixos-switch.log || (cat nixos-switch.log | grep --color error && exit 1)
# Autoformat your nix files
sudo alejandra . &>/dev/null \
|| ( sudo alejandra . ; echo "formatting failed!" && exit 1)
echo -e ': Test passed. Adding files to git'
sudo git add *

View File

@ -1,24 +1,7 @@
building Nix...
building the system configuration...
these 8 derivations will be built:
/nix/store/2qfyc36ajvqqs8s86d88vcf35zlp6h45-hm_hyprhyprland.conf.drv
/nix/store/6xdipay24z8nnbm9m9myazd0s31a1v3d-home-manager-files.drv
/nix/store/a2179jnp6rij720v1b455ih6l5ryqi4g-activation-script.drv
/nix/store/rvd9qa5pbfb4kcdfiysx1m31v1gvm44g-home-manager-generation.drv
/nix/store/35nbdhp29jmsh9673krxc3gcswvhmjna-unit-home-manager-itsscb.service.drv
/nix/store/n08swalpr0vna7cs169r8ny06jzj2dga-system-units.drv
/nix/store/8dag504abq0k5kv3mhq1vas7rcj08w4s-etc.drv
/nix/store/1r6z93vzsaqqmyjj8mc9mdnvbpbvdzh2-nixos-system-scbnb-24.05pre625274.205781405197.drv
building '/nix/store/2qfyc36ajvqqs8s86d88vcf35zlp6h45-hm_hyprhyprland.conf.drv'...
building '/nix/store/a2179jnp6rij720v1b455ih6l5ryqi4g-activation-script.drv'...
building '/nix/store/6xdipay24z8nnbm9m9myazd0s31a1v3d-home-manager-files.drv'...
building '/nix/store/rvd9qa5pbfb4kcdfiysx1m31v1gvm44g-home-manager-generation.drv'...
building '/nix/store/35nbdhp29jmsh9673krxc3gcswvhmjna-unit-home-manager-itsscb.service.drv'...
building '/nix/store/n08swalpr0vna7cs169r8ny06jzj2dga-system-units.drv'...
building '/nix/store/8dag504abq0k5kv3mhq1vas7rcj08w4s-etc.drv'...
building '/nix/store/1r6z93vzsaqqmyjj8mc9mdnvbpbvdzh2-nixos-system-scbnb-24.05pre625274.205781405197.drv'...
activating the configuration...
setting up /etc...
reloading user units for itsscb...
restarting sysinit-reactivation.target
restarting the following units: home-manager-itsscb.service
the following new units were started: sysinit-reactivation.target, systemd-tmpfiles-resetup.service