infrastructure/hosts/master.mirror.lewd.wtf/configuration.nix

26 lines
478 B
Nix
Raw Normal View History

2023-04-12 12:47:22 +00:00
{ self, config, pkgs, lib, ... }:
let
utils = import ../../util/include.nix { lib = lib; };
imports =
(utils.includeDir ./mirror_users) ++
[
./hardware-configuration.nix
./networking.nix
./sftp_jail.nix
];
in
{
inherit imports;
networking.hostName = "master";
networking.domain = "mirror.lewd.wtf";
boot.loader.grub = {
enable = true;
efiSupport = false;
devices = [ "/dev/sda" ];
};
system.stateVersion = "22.11";
}