nixos/Makefile

12 lines
277 B
Makefile
Raw Normal View History

2024-08-23 07:07:25 +01:00
.PHONY: default build flathub
HOST := $(shell hostname)
2024-08-23 07:07:25 +01:00
default: build
build:
nix build --no-link --keep-going .#nixosConfigurations.$(HOST).config.system.build.toplevel
2024-08-23 07:07:25 +01:00
flathub:
flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo