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

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

  networking = {
    hostName = "loki";
    networkmanager.enable = true;
  };

  time.timeZone = "Europe/Helsinki";

  boot.loader.grub = {
    enable = true;
    device = "/dev/sda2";
    efiSupport = true;
  };

  programs.motd = {
    enable = true;
    networkInterfaces = [ "enp1s0" ];
    servicesToCheck = [ ];
  };
}