From f38600fb2226602a53fcfc9dff244895e2888f59 Mon Sep 17 00:00:00 2001 From: Paul-Henri Froidmont Date: Thu, 2 Sep 2021 19:13:31 +0200 Subject: [PATCH] Move netrc file to a common location --- modules/system.nix | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/modules/system.nix b/modules/system.nix index 0df8f45..747d0ea 100644 --- a/modules/system.nix +++ b/modules/system.nix @@ -4,7 +4,7 @@ nix = { package = pkgs.nixUnstable; sandboxPaths = [ - "/etc/nixos/var/netrc" + "/var/keys/netrc" ]; extraOptions = '' experimental-features = nix-command flakes @@ -12,12 +12,6 @@ }; environment.systemPackages = with pkgs; [ - ( - pkgs.writeShellScriptBin "nixFlakes" '' - exec ${pkgs.nixUnstable}/bin/nix --experimental-features "nix-command flakes" "$@" - '' - ) - wget inetutils openvpn