nixos/services.novacomd: remove with lib;
This commit is contained in:
@@ -1,7 +1,4 @@
|
||||
{ config, lib, pkgs, ... }:
|
||||
|
||||
with lib;
|
||||
|
||||
let
|
||||
|
||||
cfg = config.services.novacomd;
|
||||
@@ -10,11 +7,11 @@ in {
|
||||
|
||||
options = {
|
||||
services.novacomd = {
|
||||
enable = mkEnableOption "Novacom service for connecting to WebOS devices";
|
||||
enable = lib.mkEnableOption "Novacom service for connecting to WebOS devices";
|
||||
};
|
||||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
config = lib.mkIf cfg.enable {
|
||||
environment.systemPackages = [ pkgs.webos.novacom ];
|
||||
|
||||
systemd.services.novacomd = {
|
||||
@@ -27,5 +24,5 @@ in {
|
||||
};
|
||||
};
|
||||
|
||||
meta.maintainers = with maintainers; [ dtzWill ];
|
||||
meta.maintainers = with lib.maintainers; [ dtzWill ];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user