Serenity/scripts/apply.sh
Serenity-F 0d09e1efe9 Changes to be committed:
modified:   TODO.md
	renamed:    ./desktops/profiles/gnome.nix -> ./desktops/profiles/gnome-profile.nix
	moved:    ./apply.sh -> ./scripts/apply.sh
	moved:    ./build.sh -> ./scripts/build.sh
	moved:    ./install.sh -> ./scripts/install.sh

- Updated TODO with latest plans
- Moved build/install scripts to ./scripts/
- Preparing to merge ./desktops/profiles/gnome-profile.nix and ./desktops/gnome.nix
2024-03-29 14:08:12 +10:00

8 lines
204 B
Bash
Executable file

#!/bin/sh
./install.sh
./build.sh
sudo nixos-rebuild switch
if ! cmp -s "./hosts/$(hostname)/flake.lock" /etc/nixos/flake.lock; then
sudo cp /etc/nixos/flake.lock "./hosts/$(hostname)/flake.lock"
fi