nix/module: add package to systemPackages

This commit is contained in:
kossLAN 2025-03-01 23:25:18 -05:00
parent 9b10fde29d
commit 88d71b1775
Signed by: kossLAN
SSH key fingerprint: SHA256:bdV0x+wdQHGJ6LgmstH3KV8OpWY+OOFmJcPcB0wQPV8

View file

@ -1,4 +1,3 @@
# Untested, but should be the majority of what is needed.
self: {
lib,
config,
@ -68,6 +67,8 @@ in {
users.groups.${cfg.group} = {};
environment.systemPackages = [self.packages.${pkgs.system}.tinyupload];
systemd.services.tinyupload = {
description = "tinyupload service";
wantedBy = ["multi-user.target"];