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:
parent
555402cee5
commit
3822e798f8
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue