nixos/Makefile

12 lines
272 B
Makefile

.PHONY: default build flathub
HOST := $(shell hostname)
default: build
build:
nix build -j 1 --keep-going .#nixosConfigurations.$(HOST).config.system.build.toplevel
flathub:
flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo