summaryrefslogtreecommitdiff
path: root/home
diff options
context:
space:
mode:
authorQuentin Aristote <quentin@aristote.fr>2022-08-30 23:21:49 +0200
committerQuentin Aristote <quentin@aristote.fr>2022-08-30 23:21:49 +0200
commit338c0e24b923a6cc0aff4af1b44999441cdb281e (patch)
treedd90455f70f1ee3df52c73982b3b33356ee130c2 /home
parenta2979e5b7cf78deccdb8187e077770b3368f55e1 (diff)
home: config: nixos-update-config: add comment explaining the independent file
Diffstat (limited to 'home')
-rw-r--r--home/config/scripts/nixos-update-config5
1 files changed, 4 insertions, 1 deletions
diff --git a/home/config/scripts/nixos-update-config b/home/config/scripts/nixos-update-config
index c291a55..69d6ea8 100644
--- a/home/config/scripts/nixos-update-config
+++ b/home/config/scripts/nixos-update-config
@@ -1 +1,4 @@
-sudo cp -rf ${nix-code-path}/latitude-7490/nixos/ /etc/ \ No newline at end of file
+# This script calls sudo, hence its content could be modified
+# in the view of escalating privileges. It should thus be only
+# writable by root.
+sudo cp -rf ${nix-code-path}/latitude-7490/nixos/ /etc/