fix: do not create /etc/nixos

This commit is contained in:
Inex Code 2023-12-31 18:08:36 +03:00
parent ec9a05a092
commit 240391e62d

View file

@ -74,12 +74,12 @@ class MigrateToFlakes(Migration):
print("Moved") print("Moved")
print("Downloading the template of the new NixOS configuration") print("Downloading the template of the new NixOS configuration")
subprocess.check_output( # subprocess.check_output(
[ # [
"mkdir", # "mkdir",
"/etc/nixos", # "/etc/nixos",
] # ]
) # )
archive_url = "https://git.selfprivacy.org/SelfPrivacy/selfprivacy-nixos-template/archive/master.tar.gz" archive_url = "https://git.selfprivacy.org/SelfPrivacy/selfprivacy-nixos-template/archive/master.tar.gz"
temp_dir = tempfile.mkdtemp() temp_dir = tempfile.mkdtemp()