2025-09-05 18:44:50 +02:00
|
|
|
{
|
|
|
|
|
inputs,
|
|
|
|
|
pkgs,
|
|
|
|
|
config,
|
|
|
|
|
lib,
|
|
|
|
|
...
|
|
|
|
|
}:
|
|
|
|
|
{
|
|
|
|
|
imports = [
|
|
|
|
|
./hardware-configuration.nix
|
|
|
|
|
./../../modules/core
|
2025-09-25 20:44:46 +02:00
|
|
|
./../../modules/home/steam.nix
|
2025-09-05 18:44:50 +02:00
|
|
|
./../../modules/core/virtualization.nix
|
|
|
|
|
./../../modules/services/tailscale.nix
|
|
|
|
|
./../../modules/services/mpd.nix
|
2025-09-09 16:05:19 +02:00
|
|
|
./../../modules/services/ollama.nix
|
2025-09-05 18:44:50 +02:00
|
|
|
];
|
|
|
|
|
|
|
|
|
|
powerManagement = {
|
|
|
|
|
enable = true;
|
|
|
|
|
# powertop.enable = true;
|
|
|
|
|
cpuFreqGovernor = lib.mkDefault "performance";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
networking = {
|
|
|
|
|
hostName = "iris";
|
|
|
|
|
networkmanager.enable = true;
|
|
|
|
|
};
|
|
|
|
|
|
2025-10-03 15:26:08 +02:00
|
|
|
networking = {
|
|
|
|
|
interfaces.ens4d1 = {
|
|
|
|
|
ipv4.addresses = [
|
|
|
|
|
{
|
|
|
|
|
address = "192.168.1.101";
|
|
|
|
|
prefixLength = 24;
|
|
|
|
|
}
|
|
|
|
|
];
|
|
|
|
|
};
|
2025-09-05 18:44:50 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
liv = {
|
|
|
|
|
desktop.enable = true;
|
|
|
|
|
creative.enable = true;
|
|
|
|
|
amdgpu.enable = true;
|
|
|
|
|
wine.enable = false; # use VM for this
|
|
|
|
|
gui.enable = true;
|
|
|
|
|
};
|
|
|
|
|
|
2025-11-08 16:59:39 +01:00
|
|
|
# Enable ROCM support
|
|
|
|
|
hardware.amdgpu.opencl.enable = true;
|
|
|
|
|
|
|
|
|
|
environment.systemPackages = with pkgs; [
|
|
|
|
|
pkgs.davinci-resolve
|
|
|
|
|
];
|
|
|
|
|
|
2025-09-05 18:44:50 +02:00
|
|
|
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;
|
|
|
|
|
[
|
|
|
|
|
acpi_call
|
|
|
|
|
cpupower
|
|
|
|
|
v4l2loopback
|
|
|
|
|
]
|
|
|
|
|
++ [ pkgs.cpupower-gui ];
|
|
|
|
|
};
|
|
|
|
|
}
|