37 lines
875 B
Nix
37 lines
875 B
Nix
{ self, config, pkgs, lib, ... }:
|
|
let
|
|
utils = import ../../util/include.nix { lib = lib; };
|
|
imports =
|
|
(utils.includeDir ./services) ++
|
|
(utils.includeDir ./containers) ++
|
|
[
|
|
./hardware-configuration.nix
|
|
./networking.nix
|
|
./secrets.nix
|
|
./c3moc.nix
|
|
];
|
|
|
|
in {
|
|
inherit imports;
|
|
|
|
c3moc.enable = true;
|
|
c3moc.switchNfs = true;
|
|
|
|
boot.loader.systemd-boot.enable = false;
|
|
boot.loader.grub = {
|
|
enable = true;
|
|
efiSupport = false;
|
|
copyKernels = true;
|
|
mirroredBoots = [
|
|
{ path = "/boot-1"; devices = [ "/dev/disk/by-id/ata-Samsung_SSD_860_QVO_1TB_S4CZNF0M558343V" ]; }
|
|
{ path = "/boot-2"; devices = [ "/dev/disk/by-id/ata-Samsung_SSD_860_QVO_1TB_S4CZNF0N633130M" ]; }
|
|
];
|
|
};
|
|
|
|
networking.hostName = "phoenix";
|
|
networking.domain = "lewd.wtf";
|
|
|
|
system.stateVersion = "24.05"; # Did you read the comment?
|
|
}
|
|
|