From 49876c57112d603b343075d5d4dde942fea8c475 Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Fri, 23 Aug 2024 07:07:25 +0100 Subject: [PATCH] Add flathub setup to Makefile --- Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 0786e943..ce24a4ca 100644 --- a/Makefile +++ b/Makefile @@ -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