nix/module: add package to systemPackages
This commit is contained in:
parent
9b10fde29d
commit
88d71b1775
1 changed files with 2 additions and 1 deletions
|
|
@ -1,4 +1,3 @@
|
||||||
# Untested, but should be the majority of what is needed.
|
|
||||||
self: {
|
self: {
|
||||||
lib,
|
lib,
|
||||||
config,
|
config,
|
||||||
|
|
@ -68,6 +67,8 @@ in {
|
||||||
|
|
||||||
users.groups.${cfg.group} = {};
|
users.groups.${cfg.group} = {};
|
||||||
|
|
||||||
|
environment.systemPackages = [self.packages.${pkgs.system}.tinyupload];
|
||||||
|
|
||||||
systemd.services.tinyupload = {
|
systemd.services.tinyupload = {
|
||||||
description = "tinyupload service";
|
description = "tinyupload service";
|
||||||
wantedBy = ["multi-user.target"];
|
wantedBy = ["multi-user.target"];
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue