mirror of
https://github.com/zoriya/noctalia-shell.git
synced 2025-12-06 06:36:15 +00:00
fix(nixos): power profile and battery monitoring with module
This commit is contained in:
11
flake.nix
11
flake.nix
@@ -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
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user