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 hasSchemaVersionTable = False
actionWasTaken = False actionWasTaken = False
schemaVersion = 0 schemaVersion = 0
desiredSchemaVersion = 24 desiredSchemaVersion = 25
cursor = connection.cursor() 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;