From 60ab12a2f8625567f9231f6f57abb75552bbd6cf Mon Sep 17 00:00:00 2001 From: Quentin Aristote Date: Tue, 30 Aug 2022 22:52:57 +0200 Subject: home: write-protect nixos-update-config alias --- home/config/environment.nix | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'home/config/environment.nix') diff --git a/home/config/environment.nix b/home/config/environment.nix index 30585f0..4a8878d 100644 --- a/home/config/environment.nix +++ b/home/config/environment.nix @@ -37,8 +37,7 @@ venv-manager-path = "~/.config/venv-manager"; in { amimullvad = "curl -Ls https://am.i.mullvad.net/connected"; - nixos-update-config = - "sudo cp -rf ${nix-code-path}/latitude-7490/nixos/ /etc/"; + nixos-update-config = builtins.readFile ./scripts/nixos-update-config; rm = "rm -f"; ssh = "TERM=xterm-256color ssh"; mkenv = '' -- cgit v1.2.3