From 338c0e24b923a6cc0aff4af1b44999441cdb281e Mon Sep 17 00:00:00 2001 From: Quentin Aristote Date: Tue, 30 Aug 2022 23:21:49 +0200 Subject: home: config: nixos-update-config: add comment explaining the independent file --- home/config/scripts/nixos-update-config | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'home/config/scripts') 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/ -- cgit v1.2.3