battery charge limit
This commit is contained in:
@@ -7,7 +7,6 @@
|
||||
imports = [
|
||||
./boot.nix
|
||||
./hardware-configuration.nix
|
||||
# ./networking.nix - moved to modules/nixos/network
|
||||
./services.nix
|
||||
];
|
||||
|
||||
@@ -46,36 +45,12 @@
|
||||
};
|
||||
gnome.enable = false;
|
||||
};
|
||||
# programs = {
|
||||
# hyprland = {
|
||||
# enable = true;
|
||||
# primaryDisplay = "eDP-1";
|
||||
|
||||
# display1 = {
|
||||
# input = "eDP-1";
|
||||
# resolution = "3456x2234";
|
||||
# refreshRate = "60.00000";
|
||||
# };
|
||||
|
||||
# wallpaper = [
|
||||
# "${display.input}, /run/wallpaper.jpg"
|
||||
# ];
|
||||
|
||||
# monitor = [
|
||||
# "${display.input},${display.resolution}@${display.refreshRate},0x0,1.25,bitdepth,10,cm,hdr,sdrbrightness,1.2,sdrsaturation,0.98"
|
||||
# ];
|
||||
|
||||
# workspace = [
|
||||
# "name:firefox, monitor:${display.input}, default:false, special, class:(.*firefox.*)"
|
||||
# "name:discord, monitor:${display.input}, default:true, special, title:(.*vesktop.*), title:(.*Apple Music.*)"
|
||||
# "name:steam, monitor:${display.input}, default:false, special, class:(.*[Ss]team.*)"
|
||||
# ];
|
||||
|
||||
# windowRule = [
|
||||
# "size 2160 3356, tag:horizonrdp"
|
||||
# ];
|
||||
# };
|
||||
# };
|
||||
hardware = {
|
||||
battery = {
|
||||
enable = true;
|
||||
battery = " /sys/class/power_supply/macsmc-battery/charge_control_end_threshold";
|
||||
};
|
||||
};
|
||||
network = {
|
||||
hostName = "macbook-pro-nixos";
|
||||
networkmanager.enable = false;
|
||||
|
||||
Reference in New Issue
Block a user