From 240391e62d67d7628e258e978eee07de6006a825 Mon Sep 17 00:00:00 2001 From: Inex Code Date: Sun, 31 Dec 2023 18:08:36 +0300 Subject: [PATCH] fix: do not create /etc/nixos --- selfprivacy_api/migrations/migrate_to_flakes.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/selfprivacy_api/migrations/migrate_to_flakes.py b/selfprivacy_api/migrations/migrate_to_flakes.py index d648e90..16f655d 100644 --- a/selfprivacy_api/migrations/migrate_to_flakes.py +++ b/selfprivacy_api/migrations/migrate_to_flakes.py @@ -74,12 +74,12 @@ class MigrateToFlakes(Migration): print("Moved") print("Downloading the template of the new NixOS configuration") - subprocess.check_output( - [ - "mkdir", - "/etc/nixos", - ] - ) + # subprocess.check_output( + # [ + # "mkdir", + # "/etc/nixos", + # ] + # ) archive_url = "https://git.selfprivacy.org/SelfPrivacy/selfprivacy-nixos-template/archive/master.tar.gz" temp_dir = tempfile.mkdtemp()