ft (wip): big initial config

This commit is contained in:
djaidjai committed 2026-09-26 01:45:42 +02:00
1 parent 4aead77c60
commit 7a07c37bc3
19 files changed
+1173

No files matched your search

+24
View File
@@ -0,0 +1,24 @@
# nixos-rebuild runs as you and only uses sudo to activate: evaluation needs
# your SSH agent and config, because the ripdj input is fetched over SSH.
# The flake's hosts are named after the hostnames, so `--flake .` finds this one.
HOSTS = nixbook nixpad tuxcomp
switch:
nixos-rebuild switch --flake . --sudo --ask-sudo-password
# build this host's system (./result) without activating it.
build:
nixos-rebuild build --flake .
# evaluate every host.
check:
@for host in $(HOSTS); do \
echo "$$host"; \
nix eval --raw .#nixosConfigurations.$$host.config.system.build.toplevel.drvPath > /dev/null || exit 1; \
done
update:
nix flake update
.PHONY: switch build check update
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.