summaryrefslogtreecommitdiff
path: root/hosts/desktop/configuration.nix
blob: 8d2da6f17232b6ed627b9bf4b0fd7381c7f29e1b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
{
  config,
  lib,
  pkgs,
  inputs,
  ...
}:

{
  imports = [
    # Include the results of the hardware scan.
    ./hardware-configuration.nix
    ../../modules/common.nix
    ../../modules/llm.nix
    # ../../modules/local-llm.nix
    ../../modules/kvm.nix
    ../../modules/wireguard.nix
  ];

  boot.loader.grub = {
    enable = true;
    device = "nodev";
    efiSupport = true;
  };
  boot.loader.efi.canTouchEfiVariables = false;
  boot.loader.efi.efiSysMountPoint = "/boot/efi";

  networking.hostName = "desktop";
  networking.wireless.iwd.enable = true;
  networking.networkmanager.wifi.backend = "iwd";
  networking.networkmanager.wifi.macAddress = "permanent";
  networking.wireless.iwd.settings.General.AddressRandomization = "disabled";
  networking.nameservers = [
    "1.1.1.1"
    "8.8.8.8"
  ];

  services.xserver.videoDrivers = [ "amdgpu" ];

  system.stateVersion = "25.11";
}