mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-14 06:00:33 +03:00
treewide: remove file-wide with lib;
in nixos/modules/programs
This commit is contained in:
parent
861f29655c
commit
49f6869f71
118 changed files with 1053 additions and 1269 deletions
|
@ -1,14 +1,13 @@
|
|||
{ config, pkgs, lib, ... }:
|
||||
|
||||
with lib;
|
||||
let
|
||||
cfg = config.programs.mdevctl;
|
||||
in {
|
||||
options.programs.mdevctl = {
|
||||
enable = mkEnableOption "Mediated Device Management";
|
||||
enable = lib.mkEnableOption "Mediated Device Management";
|
||||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
config = lib.mkIf cfg.enable {
|
||||
environment.systemPackages = with pkgs; [ mdevctl ];
|
||||
|
||||
environment.etc."mdevctl.d/scripts.d/notifiers/.keep".text = "";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue