modules: hardware: move 'upower'

This commit is contained in:
Bruno BELANYI 2021-05-29 16:44:34 +02:00
parent dd19b9dd92
commit 274b909971
4 changed files with 4 additions and 4 deletions

View file

@ -10,7 +10,6 @@
./media.nix
./nix.nix
./packages.nix
./upower.nix
./users.nix
];
}

View file

@ -7,5 +7,6 @@
./ergodox.nix
./networking.nix
./sound.nix
./upower.nix
];
}

View file

@ -1,9 +1,9 @@
{ config, lib, pkgs, ... }:
let
cfg = config.my.modules.upower;
cfg = config.my.hardware.upower;
in
{
options.my.modules.upower = with lib; {
options.my.hardware.upower = with lib; {
enable = mkEnableOption "upower configuration";
levels = {