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

  imports = [ ./hardware.nix ];

  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 = [ ];
  };
}