Add flathub setup to Makefile

This commit is contained in:
Evie Litherland-Smith 2024-08-23 07:07:25 +01:00
parent f12b5cc52d
commit 49876c5711

View file

@ -1,6 +1,11 @@
.PHONY: build
.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