Rename rhemawave to radiantwave throughout
This commit is contained in:
+4
-4
@@ -3,17 +3,17 @@ self:
|
||||
{ config, lib, pkgs, ... }:
|
||||
|
||||
let
|
||||
cfg = config.services.rhemawave;
|
||||
cfg = config.services.radiantwave;
|
||||
in
|
||||
{
|
||||
options.services.rhemawave = {
|
||||
enable = lib.mkEnableOption "RhemaWave kiosk application";
|
||||
options.services.radiantwave = {
|
||||
enable = lib.mkEnableOption "RadiantWave kiosk application";
|
||||
|
||||
package = lib.mkOption {
|
||||
type = lib.types.package;
|
||||
# Points to the default package in your flake
|
||||
default = self.packages.${pkgs.system}.default;
|
||||
description = "The RhemaWave package to use.";
|
||||
description = "The RadiantWave package to use.";
|
||||
};
|
||||
|
||||
user = lib.mkOption {
|
||||
|
||||
+4
-4
@@ -14,14 +14,14 @@
|
||||
{ config, lib, pkgs, ... }:
|
||||
|
||||
let
|
||||
rhemaApp = config.services.rhemawave.package;
|
||||
radiantApp = config.services.radiantwave.package;
|
||||
in
|
||||
{
|
||||
# ── Hostname ──────────────────────────────────────────────────────────────
|
||||
networking.hostName = "radiantwave-test";
|
||||
|
||||
# ── RadiantWave module ────────────────────────────────────────────────────
|
||||
services.rhemawave.enable = true;
|
||||
services.radiantwave.enable = true;
|
||||
|
||||
# ── Boot ──────────────────────────────────────────────────────────────────
|
||||
boot.loader.systemd-boot.enable = lib.mkForce false;
|
||||
@@ -108,10 +108,10 @@ in
|
||||
|
||||
# Asset sync + start app (same as production)
|
||||
mkdir -p /home/kiosk/.local/share/radiantwave
|
||||
${pkgs.rsync}/bin/rsync -ru ${rhemaApp}/share/radiantwave/ /home/kiosk/.local/share/radiantwave/
|
||||
${pkgs.rsync}/bin/rsync -ru ${radiantApp}/share/radiantwave/ /home/kiosk/.local/share/radiantwave/
|
||||
mkdir -p /home/kiosk/.radiantwave/audio
|
||||
|
||||
cage -- ${rhemaApp}/bin/radiantwave -d -s > /tmp/kiosk.log 2>&1
|
||||
cage -- ${radiantApp}/bin/radiantwave -d -s > /tmp/kiosk.log 2>&1
|
||||
fi
|
||||
'';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user