functionality/soft-serve: rename to soft-serve-ng

Nixpkgs now has a soft-serve module with a conflicting definition
This commit is contained in:
Infinidoge 2023-10-26 00:03:54 -04:00
parent 98a5cab0cb
commit 165e291371
2 changed files with 3 additions and 3 deletions

View file

@ -29,7 +29,7 @@
services = { services = {
avahi.reflector = true; avahi.reflector = true;
soft-serve.enable = true; soft-serve-ng.enable = true;
}; };
environment.persistence."/persist" = { environment.persistence."/persist" = {

View file

@ -2,11 +2,11 @@
with lib; with lib;
with lib.our; with lib.our;
let let
cfg = config.services.soft-serve; cfg = config.services.soft-serve-ng;
mkIfNotNull = v: mkIf (v != null) v; mkIfNotNull = v: mkIf (v != null) v;
in in
{ {
options.services.soft-serve = with types; { options.services.soft-serve-ng = with types; {
enable = mkBoolOpt false; enable = mkBoolOpt false;
host = mkOpt str ""; host = mkOpt str "";