chore: update flake

This commit is contained in:
Leon Schwarzäugl 2025-10-07 19:37:47 +02:00
parent 8379703b93
commit f4d9a0e5d3
Signed by: swarsel
GPG key ID: 26A54C31F2A4FD84
10 changed files with 2848 additions and 771 deletions

View file

@ -1,8 +1,5 @@
{ lib, config, inputs, ... }:
{ lib, config, ... }:
{
imports = [
inputs.fw-fanctrl.nixosModules.default
];
options.swarselmodules.optional.framework = lib.mkEnableOption "optional framework machine settings";
config = lib.mkIf config.swarselmodules.optional.framework {
services = {
@ -20,7 +17,7 @@
ACTION=="add", SUBSYSTEM=="i2c", DRIVERS=="i2c_hid_acpi", ATTRS{name}=="PIXA3854:00", ATTR{power/wakeup}="disabled"
'';
};
programs.fw-fanctrl = {
hardware.fw-fanctrl = {
enable = true;
config = {
defaultStrategy = "lazy";