fix: disable desktop role for sakura

This commit is contained in:
Ahwx 2025-04-16 10:31:45 +02:00
parent fa82d6ef47
commit 026fb1c898

View file

@ -1,4 +1,10 @@
{ inputs, pkgs, config, lib, ... }:
{
inputs,
pkgs,
config,
lib,
...
}:
{
imports = [
./hardware-configuration.nix
@ -17,12 +23,12 @@
};
environment.systemPackages = with pkgs; [
fwupd # Update firmware for Framework Laptop 13
fwupd # Update firmware for Framework Laptop 13
];
liv = {
laptop.enable = true;
desktop.enable = true;
desktop.enable = false;
creative.enable = true;
amdgpu.enable = true;
};
@ -33,19 +39,23 @@
networking.hostName = "sakura";
boot = {
kernelParams = [ "mem_sleep_default=deep" "acpi_osi=\"!Windows 2020\"" ];
kernelModules = ["acpi_call"];
kernelParams = [
"mem_sleep_default=deep"
"acpi_osi=\"!Windows 2020\""
];
kernelModules = [ "acpi_call" ];
kernelPackages = pkgs.linuxPackages_latest;
loader = {
systemd-boot.enable = true;
efi.canTouchEfiVariables = true;
systemd-boot.configurationLimit = 10;
};
extraModulePackages = with config.boot.kernelPackages;
extraModulePackages =
with config.boot.kernelPackages;
[
acpi_call
cpupower
]
++ [pkgs.cpupower-gui];
++ [ pkgs.cpupower-gui ];
};
}