* Create /var/lib/upower, where upowerd keeps historical battery data.
svn path=/nixos/trunk/; revision=29057
This commit is contained in:
parent
5de82a6802
commit
4a65eb6830
1 changed files with 5 additions and 0 deletions
|
@ -35,6 +35,11 @@ with pkgs.lib;
|
|||
|
||||
services.udev.packages = [ pkgs.upower ];
|
||||
|
||||
system.activationScripts.upower =
|
||||
''
|
||||
mkdir -m 0755 -p /var/lib/upower
|
||||
'';
|
||||
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue