batt conf
This commit is contained in:
parent
47dd74b792
commit
bb0f7dac04
3 changed files with 10 additions and 6 deletions
|
|
@ -1,6 +1,7 @@
|
|||
{
|
||||
pkgs,
|
||||
inputs,
|
||||
lib,
|
||||
...
|
||||
}: let
|
||||
cargoFile = builtins.readFile ./cargo.toml;
|
||||
|
|
@ -23,7 +24,7 @@ in {
|
|||
enable = true;
|
||||
settings = {
|
||||
battery =
|
||||
if builtins.readFile /etc/hostname == "NOlaptop"
|
||||
if lib.strings.hasPrefix "NOlaptop" (builtins.readFile /etc/hostname)
|
||||
then true
|
||||
else false;
|
||||
hide_time = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue