17 lines
381 B
Makefile
17 lines
381 B
Makefile
.PHONY: default build server flathub
|
|
|
|
HOST := $(shell hostname)
|
|
|
|
default: build
|
|
|
|
build:
|
|
nix build --no-link --keep-going .#nixosConfigurations.$(HOST).config.system.build.toplevel
|
|
|
|
server:
|
|
nixos-rebuild build --flake .#Legion
|
|
nix copy ./result --to ssh://legion
|
|
rm ./result
|
|
|
|
flathub:
|
|
flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo
|