[Nix-dev] Which /etc location for laptop-mode?

Marc Weber marco-oweber at gmx.de
Thu Jul 3 17:36:41 CEST 2008


The kernel ships with a nice small script called laptop-mode switching
off disk, scaling down cpu speed etc so that your battery lasts longer.

Documentation and the scripts can be found in Documentation/...
The script itself has two default location for it's configuration:
        /etc/default/laptop-mode
and
        /etc/sysconfig/laptop-mode
(Debian and others)

Which location is best for nixos? Just /etc/lapotp-mode?

Marc Weber



More information about the nix-dev mailing list