nixos-config/hosts/yoshino/default.nix

55 lines
1 KiB
Nix
Raw Normal View History

{
inputs,
pkgs,
config,
lib,
...
}:
2024-12-12 22:24:17 +01:00
{
imports = [
./hardware-configuration.nix
./../../modules/core
# ./../../modules/home/nfs.nix
./../../modules/core/virtualization.nix
2025-07-02 23:37:06 +02:00
./../../modules/services/tailscale.nix
2024-12-12 22:24:17 +01:00
];
2024-12-12 22:24:17 +01:00
powerManagement = {
enable = true;
# powertop.enable = true;
cpuFreqGovernor = lib.mkDefault "performance";
};
2024-12-23 22:39:47 +01:00
liv = {
desktop.enable = true;
creative.enable = true;
amdgpu.enable = true;
wine.enable = false;
gui.enable = true;
2024-12-23 22:39:47 +01:00
};
2024-12-12 22:24:17 +01:00
networking = {
hostName = "yoshino";
networkmanager.enable = true;
};
boot = {
kernelParams = [ ];
kernelModules = [ "acpi_call" ];
kernelPackages = pkgs.linuxPackages_latest;
loader = {
systemd-boot.enable = true;
efi.canTouchEfiVariables = true;
systemd-boot.configurationLimit = 10;
};
extraModulePackages =
with config.boot.kernelPackages;
2024-12-12 22:24:17 +01:00
[
acpi_call
cpupower
v4l2loopback
2024-12-12 22:24:17 +01:00
]
++ [ pkgs.cpupower-gui ];
};
2024-12-12 22:24:17 +01:00
}