Add nixOS to supported operating systems #40

Merged
j3s merged 2 commits from jes/add-nixos into main 2022-07-19 02:08:45 +00:00
3 changed files with 8 additions and 1 deletions

View File

@ -50,7 +50,7 @@ def init_app(app, is_running_server):
hasSchemaVersionTable = False
actionWasTaken = False
schemaVersion = 0
desiredSchemaVersion = 24
desiredSchemaVersion = 25
cursor = connection.cursor()

View File

@ -0,0 +1,3 @@
DELETE FROM os_images WHERE id = 'nixos';
UPDATE schemaversion SET version = 24;

View File

@ -0,0 +1,4 @@
INSERT INTO os_images (id, template_image_file_name, description, deprecated)
VALUES ('nixos', 'nixos/22.05/root.img.qcow2', 'NixOS 22.05', FALSE);
UPDATE schemaversion SET version = 25;