summaryrefslogtreecommitdiff
path: root/hosts/himeji/configuration.nix
blob: 39d4f090a057d3d1b36c4892e3b62076cd1600e4 (plain) (blame)
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
{ self, ... }:
{
  imports = [
    ./hardware-configuration.nix
    "${self}/disks/himeji.nix"
    "${self}/modules/core"
    "${self}/modules/options"
    "${self}/modules/server"
  ];

  config = {
    networking.hostName = "himeji";
    system.stateVersion = "24.05";

    modules = {
      mosh.enable = true;

      containers = {
        engine = "podman";

        extraOptions = [
          "--restart=on-failure"
          "--pull=newer"
        ];
      };
    };
  };
}