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 = [ imports = [
./hardware-configuration.nix ./hardware-configuration.nix
@ -9,7 +15,7 @@
# Enable fancy boot animations # Enable fancy boot animations
boot.plymouth.enable = true; boot.plymouth.enable = true;
powerManagement = { powerManagement = {
enable = true; enable = true;
# powertop.enable = true; # powertop.enable = true;
@ -17,12 +23,12 @@
}; };
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
fwupd # Update firmware for Framework Laptop 13 fwupd # Update firmware for Framework Laptop 13
]; ];
liv = { liv = {
laptop.enable = true; laptop.enable = true;
desktop.enable = true; desktop.enable = false;
creative.enable = true; creative.enable = true;
amdgpu.enable = true; amdgpu.enable = true;
}; };
@ -33,19 +39,23 @@
networking.hostName = "sakura"; networking.hostName = "sakura";
boot = { boot = {
kernelParams = [ "mem_sleep_default=deep" "acpi_osi=\"!Windows 2020\"" ]; kernelParams = [
kernelModules = ["acpi_call"]; "mem_sleep_default=deep"
"acpi_osi=\"!Windows 2020\""
];
kernelModules = [ "acpi_call" ];
kernelPackages = pkgs.linuxPackages_latest; kernelPackages = pkgs.linuxPackages_latest;
loader = { loader = {
systemd-boot.enable = true; systemd-boot.enable = true;
efi.canTouchEfiVariables = true; efi.canTouchEfiVariables = true;
systemd-boot.configurationLimit = 10; systemd-boot.configurationLimit = 10;
}; };
extraModulePackages = with config.boot.kernelPackages; extraModulePackages =
with config.boot.kernelPackages;
[ [
acpi_call acpi_call
cpupower cpupower
] ]
++ [pkgs.cpupower-gui]; ++ [ pkgs.cpupower-gui ];
}; };
} }