summaryrefslogtreecommitdiff
path: root/nixos/Makefile
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2023-01-17 12:45:46 +0100
committerAlex Auvolat <alex@adnab.me>2023-01-17 12:45:46 +0100
commitd47dd5aa3882aea1a8eff4fb9faa4881274559dc (patch)
treeb438c8fb8953b84614c170a5278ae72ece90bb68 /nixos/Makefile
parenteaf6d5b07bcdd9a3eb9bfdac93566b7432e46c37 (diff)
downloaduser-config-d47dd5aa3882aea1a8eff4fb9faa4881274559dc.tar.gz
user-config-d47dd5aa3882aea1a8eff4fb9faa4881274559dc.zip
Unify things and rename things
Diffstat (limited to 'nixos/Makefile')
-rw-r--r--nixos/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/nixos/Makefile b/nixos/Makefile
new file mode 100644
index 0000000..ba8182a
--- /dev/null
+++ b/nixos/Makefile
@@ -0,0 +1,5 @@
+all:
+ sudo nixos-rebuild switch -I nixos-config=`hostname`.nix
+
+up:
+ sudo nixos-rebuild switch --upgrade -I nixos-config=`hostname`.nix