mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 15:03:28 +00:00
nixos/services.devmon: remove with lib;
This commit is contained in:
parent
ea5f93bf13
commit
94b5a13466
@ -1,18 +1,15 @@
|
||||
{ pkgs, config, lib, ... }:
|
||||
|
||||
with lib;
|
||||
|
||||
let
|
||||
cfg = config.services.devmon;
|
||||
|
||||
in {
|
||||
options = {
|
||||
services.devmon = {
|
||||
enable = mkEnableOption "devmon, an automatic device mounting daemon";
|
||||
enable = lib.mkEnableOption "devmon, an automatic device mounting daemon";
|
||||
};
|
||||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
config = lib.mkIf cfg.enable {
|
||||
systemd.user.services.devmon = {
|
||||
description = "devmon automatic device mounting daemon";
|
||||
wantedBy = [ "default.target" ];
|
||||
|
Loading…
Reference in New Issue
Block a user