1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-18 11:40:45 +00:00

nixos/services.brltty: remove with lib;

This commit is contained in:
Felix Buehler 2024-08-27 20:43:15 +02:00
parent 555402cee5
commit 3822e798f8

View file

@ -1,7 +1,4 @@
{ config, lib, pkgs, ... }:
with lib;
let
cfg = config.services.brltty;
@ -22,15 +19,15 @@ in {
options = {
services.brltty.enable = mkOption {
type = types.bool;
services.brltty.enable = lib.mkOption {
type = lib.types.bool;
default = false;
description = "Whether to enable the BRLTTY daemon.";
};
};
config = mkIf cfg.enable {
config = lib.mkIf cfg.enable {
users.users.brltty = {
description = "BRLTTY daemon user";
group = "brltty";