infrastructure/hosts/phoenix.lewd.wtf/configuration.nix

37 lines
877 B
Nix
Raw Normal View History

2024-02-04 00:11:26 +00:00
{ self, config, pkgs, lib, ... }:
let
utils = import ../../util/include.nix { lib = lib; };
imports =
(utils.includeDir ./services) ++
(utils.includeDir ./containers) ++
2024-02-04 00:11:26 +00:00
[
./hardware-configuration.nix
./networking.nix
./secrets.nix
2024-05-20 13:53:55 +00:00
./c3moc.nix
2024-02-04 00:11:26 +00:00
];
in {
inherit imports;
2024-06-08 09:21:19 +00:00
c3moc.enable = false;
c3moc.switchNfs = false;
2024-05-20 13:53:55 +00:00
2024-02-04 00:11:26 +00:00
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?
}