mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-07 13:33:12 +00:00
nixos/services.deepin.dde-daemon: remove with lib;
This commit is contained in:
parent
db321b974a
commit
793ecf7877
@ -1,11 +1,8 @@
|
|||||||
{ config, pkgs, lib, ... }:
|
{ config, pkgs, lib, ... }:
|
||||||
|
|
||||||
with lib;
|
|
||||||
|
|
||||||
{
|
{
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
maintainers = teams.deepin.members;
|
maintainers = lib.teams.deepin.members;
|
||||||
};
|
};
|
||||||
|
|
||||||
###### interface
|
###### interface
|
||||||
@ -14,7 +11,7 @@ with lib;
|
|||||||
|
|
||||||
services.deepin.dde-daemon = {
|
services.deepin.dde-daemon = {
|
||||||
|
|
||||||
enable = mkEnableOption "daemon for handling the deepin session settings";
|
enable = lib.mkEnableOption "daemon for handling the deepin session settings";
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -23,7 +20,7 @@ with lib;
|
|||||||
|
|
||||||
###### implementation
|
###### implementation
|
||||||
|
|
||||||
config = mkIf config.services.deepin.dde-daemon.enable {
|
config = lib.mkIf config.services.deepin.dde-daemon.enable {
|
||||||
|
|
||||||
environment.systemPackages = [ pkgs.deepin.dde-daemon ];
|
environment.systemPackages = [ pkgs.deepin.dde-daemon ];
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user