From f4b7ac11a3bca0ce85415701753a348c757da6c7 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Thu, 22 May 2014 12:06:29 +0200 Subject: [PATCH] Remove udisks module It's no longer used in NixOS. --- nixos/modules/module-list.nix | 1 - nixos/modules/services/hardware/udisks.nix | 45 ---------------------- 2 files changed, 46 deletions(-) delete mode 100644 nixos/modules/services/hardware/udisks.nix diff --git a/nixos/modules/module-list.nix b/nixos/modules/module-list.nix index ab0b263c4b84..b80ecce90ce8 100644 --- a/nixos/modules/module-list.nix +++ b/nixos/modules/module-list.nix @@ -121,7 +121,6 @@ ./services/hardware/pommed.nix ./services/hardware/sane.nix ./services/hardware/udev.nix - ./services/hardware/udisks.nix ./services/hardware/udisks2.nix ./services/hardware/upower.nix ./services/hardware/thinkfan.nix diff --git a/nixos/modules/services/hardware/udisks.nix b/nixos/modules/services/hardware/udisks.nix deleted file mode 100644 index c9d11bcfc687..000000000000 --- a/nixos/modules/services/hardware/udisks.nix +++ /dev/null @@ -1,45 +0,0 @@ -# Udisks daemon. - -{ config, lib, pkgs, ... }: - -with lib; - -{ - - ###### interface - - options = { - - services.udisks = { - - enable = mkOption { - type = types.bool; - default = false; - description = '' - Whether to enable Udisks, a DBus service that allows - applications to query and manipulate storage devices. - ''; - }; - - }; - - }; - - - ###### implementation - - config = mkIf config.services.udisks.enable { - - environment.systemPackages = [ pkgs.udisks ]; - - services.dbus.packages = [ pkgs.udisks ]; - - system.activationScripts.udisks = - '' - mkdir -m 0755 -p /var/lib/udisks - ''; - - services.udev.packages = [ pkgs.udisks ]; - }; - -}