Systemd service GO!

This commit is contained in:
2023-03-10 00:21:24 -05:00
parent 48e99710ff
commit 59251dc34e
2 changed files with 9 additions and 8 deletions

View File

@@ -17,11 +17,12 @@
];
})
({lib, config, pkgs, ...}: {
system.stateVersion = "22.11";
boot.isContainer = true;
environment.systemPackages = with pkgs; [
new_alan
];
systemd.services.alan = {
enable = true;
script = ''
${pkgs}.new_alan
'';
};
})
];
};