diff options
| author | Quentin Aristote <quentin@aristote.fr> | 2022-08-30 22:52:57 +0200 |
|---|---|---|
| committer | Quentin Aristote <quentin@aristote.fr> | 2022-08-30 22:52:57 +0200 |
| commit | 60ab12a2f8625567f9231f6f57abb75552bbd6cf (patch) | |
| tree | 6b813b752ea787be79af89a86dc4f872e39da077 /home/config/environment.nix | |
| parent | 899751b32ee15c8d92896ca94acdccb47f0afe11 (diff) | |
home: write-protect nixos-update-config alias
Diffstat (limited to 'home/config/environment.nix')
| -rw-r--r-- | home/config/environment.nix | 3 |
1 files changed, 1 insertions, 2 deletions
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 = '' |
