mirror of
https://github.com/Ahwxorg/nixos-config.git
synced 2025-12-04 15:00:13 +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
|
||||
|
|
@ -9,7 +15,7 @@
|
|||
|
||||
# Enable fancy boot animations
|
||||
boot.plymouth.enable = true;
|
||||
|
||||
|
||||
powerManagement = {
|
||||
enable = true;
|
||||
# powertop.enable = true;
|
||||
|
|
@ -17,12 +23,12 @@
|
|||
};
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
fwupd # Update firmware for Framework Laptop 13
|
||||
fwupd # Update firmware for Framework Laptop 13
|
||||
];
|
||||
|
||||
liv = {
|
||||
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 ];
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue