about summary refs log tree commit diff
path: root/nixos/modules
diff options
context:
space:
mode:
authorHerwig Hochleitner <herwig@bendlas.net>2015-02-10 11:52:46 +0100
committerHerwig Hochleitner <herwig@bendlas.net>2015-02-10 13:14:09 +0100
commit983fddcea892485949923f6e0c947d2bee6ba09c (patch)
treebff2a1917d5397e5853bfcc791031d0bbd1ff089 /nixos/modules
parentb909def3e17d261df2cf1947eceb43f140113bf2 (diff)
downloadnixlib-983fddcea892485949923f6e0c947d2bee6ba09c.tar
nixlib-983fddcea892485949923f6e0c947d2bee6ba09c.tar.gz
nixlib-983fddcea892485949923f6e0c947d2bee6ba09c.tar.bz2
nixlib-983fddcea892485949923f6e0c947d2bee6ba09c.tar.lz
nixlib-983fddcea892485949923f6e0c947d2bee6ba09c.tar.xz
nixlib-983fddcea892485949923f6e0c947d2bee6ba09c.tar.zst
nixlib-983fddcea892485949923f6e0c947d2bee6ba09c.zip
Move cdemu module into programs
Diffstat (limited to 'nixos/modules')
-rw-r--r--nixos/modules/module-list.nix2
-rw-r--r--nixos/modules/programs/cdemu.nix (renamed from nixos/modules/services/hardware/cdemu.nix)4
2 files changed, 3 insertions, 3 deletions
diff --git a/nixos/modules/module-list.nix b/nixos/modules/module-list.nix
index 9c5cb6de83c3..244d1b25f52d 100644
--- a/nixos/modules/module-list.nix
+++ b/nixos/modules/module-list.nix
@@ -55,6 +55,7 @@
   ./programs/atop.nix
   ./programs/bash/bash.nix
   ./programs/blcr.nix
+  ./programs/cdemu.nix
   ./programs/command-not-found/command-not-found.nix
   ./programs/dconf.nix
   ./programs/environment.nix
@@ -144,7 +145,6 @@
   ./services/games/minecraft-server.nix
   ./services/hardware/acpid.nix
   ./services/hardware/amd-hybrid-graphics.nix
-  ./services/hardware/cdemu.nix
   ./services/hardware/bluetooth.nix
   ./services/hardware/freefall.nix
   ./services/hardware/nvidia-optimus.nix
diff --git a/nixos/modules/services/hardware/cdemu.nix b/nixos/modules/programs/cdemu.nix
index bca78f6e8033..d1b1915eea91 100644
--- a/nixos/modules/services/hardware/cdemu.nix
+++ b/nixos/modules/programs/cdemu.nix
@@ -2,11 +2,11 @@
 
 with lib;
 
-let cfg = config.services.cdemu;
+let cfg = config.programs.cdemu;
 in {
 
   options = {
-    services.cdemu = {
+    programs.cdemu = {
       enable = mkOption {
         default = false;
         description = "Whether to enable cdemu for users of appropriate group (default cdrom)";