mirror of
https://github.com/Ahwxorg/nixos-config.git
synced 2025-12-04 23:00:14 +01:00
fix: disable desktop role for sakura
This commit is contained in:
parent
fa82d6ef47
commit
026fb1c898
1 changed files with 19 additions and 9 deletions
|
|
@ -1,4 +1,10 @@
|
|||
{ inputs, pkgs, config, lib, ... }:
|
||||
{
|
||||
inputs,
|
||||
pkgs,
|
||||
config,
|
||||
lib,
|
||||
...
|
||||
}:
|
||||
{
|
||||
imports = [
|
||||
./hardware-configuration.nix
|
||||
|
|
@ -22,7 +28,7 @@
|
|||
|
||||
liv = {
|
||||
laptop.enable = true;
|
||||
desktop.enable = true;
|
||||
desktop.enable = false;
|
||||
creative.enable = true;
|
||||
amdgpu.enable = true;
|
||||
};
|
||||
|
|
@ -33,7 +39,10 @@
|
|||
networking.hostName = "sakura";
|
||||
|
||||
boot = {
|
||||
kernelParams = [ "mem_sleep_default=deep" "acpi_osi=\"!Windows 2020\"" ];
|
||||
kernelParams = [
|
||||
"mem_sleep_default=deep"
|
||||
"acpi_osi=\"!Windows 2020\""
|
||||
];
|
||||
kernelModules = [ "acpi_call" ];
|
||||
kernelPackages = pkgs.linuxPackages_latest;
|
||||
loader = {
|
||||
|
|
@ -41,7 +50,8 @@
|
|||
efi.canTouchEfiVariables = true;
|
||||
systemd-boot.configurationLimit = 10;
|
||||
};
|
||||
extraModulePackages = with config.boot.kernelPackages;
|
||||
extraModulePackages =
|
||||
with config.boot.kernelPackages;
|
||||
[
|
||||
acpi_call
|
||||
cpupower
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue