Files
radiantwave-legacy/nixos/module.nix
T
NeilClack 312f5e2a90
build-prod.yml / build (push) Failing after 2s
build-dev.yml / build (push) Failing after 2s
Rename rhemawave to radiantwave throughout
2026-08-08 01:20:11 -05:00

31 lines
765 B
Nix

self:
{ config, lib, pkgs, ... }:
let
cfg = config.services.radiantwave;
in
{
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 RadiantWave package to use.";
};
user = lib.mkOption {
type = lib.types.str;
default = "kiosk";
description = "The user account name.";
};
};
config = lib.mkIf cfg.enable {
# Just put the package in the system path.
# The machine (configuration.nix) handles the service and the files.
environment.systemPackages = [ cfg.package ];
};
}