fix(nixos): power profile and battery monitoring with module

This commit is contained in:
Randi Budi
2025-09-17 04:20:37 +07:00
parent b7d8f92414
commit cdfb110007
2 changed files with 17 additions and 21 deletions

View File

@@ -80,6 +80,17 @@
});
defaultPackage = eachSystem (system: self.packages.${system}.default);
nixosModules = {
noctalia = { pkgs, lib, ... }: {
environment.systemPackages = [
self.packages.${pkgs.system}.default
];
# Required services for proper functionality
services.power-profiles-daemon.enable = true; # Power profile switching support
services.upower.enable = true; # Battery monitoring & power management
};
};
};
}