summaryrefslogtreecommitdiff
path: root/lindy/nixos/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'lindy/nixos/Makefile')
-rw-r--r--lindy/nixos/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/lindy/nixos/Makefile b/lindy/nixos/Makefile
new file mode 100644
index 0000000..2ae1ef5
--- /dev/null
+++ b/lindy/nixos/Makefile
@@ -0,0 +1,5 @@
+all:
+ sudo nixos-rebuild switch -I nixos-config=configuration.nix
+
+up:
+ sudo nixos-rebuild switch --upgrade -I nixos-config=configuration.nix