aboutsummaryrefslogtreecommitdiff
path: root/hosts/loki/default.nix
blob: b4d0da9be21a92bb3c63344223acda730346ea32 (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
42
{
  inputs,
  ...
}:
{
  system.stateVersion = "24.11";

  imports = [
    ./filesystems
    ./modules
  ];

  boot.loader.grub = {
    enable = true;
    device = "/dev/sda2";
    efiSupport = true;
  };
  boot.initrd = {
    availableKernelModules = [
      "xhci_pci"
      "virtio_scsi"
      "sr_mod"
    ];
    kernelModules = [ "dm-snapshot" ];
  };

  home-manager = {
    useGlobalPkgs = true;
    useUserPackages = true;
    users = import "${inputs.self}/users";
    extraSpecialArgs = {
      inherit inputs;
      headless = true;
    };
  };

  time.timeZone = "America/Detroit";
  networking = {
    hostName = "loki";
    networkmanager.enable = true;
  };
}