infrastructure/machines/core-services-01/hardware-configuration.nix
Gabriel DORIATH DOHLER 6f4068ff5c machines: add core-services-01
- acme-dns for internal DNS-01 challenges
- nsd for zone rz.ens.wtf
- unbound for internal usage and resolutions
- dokuwiki for network documentation
- gitea for this very repository and many more
- keycloak for SSO over all services
- monitoring (netdata, grafana/influxdb soon)
- netboot for easy provisioning of other machines

Co-authored-by: Ryan Lahfa <ryan.lahfa@ens.fr>
2021-07-26 01:26:13 +02:00

35 lines
868 B
Nix
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Do not modify this file! It was generated by nixos-generate-config
# and may be overwritten by future invocations. Please make changes
# to /etc/nixos/configuration.nix instead.
{ config, lib, pkgs, modulesPath, ... }:
{
imports =
[ (modulesPath + "/profiles/qemu-guest.nix")
];
boot.initrd.availableKernelModules = [ "ata_piix" "uhci_hcd" "virtio_pci" "sd_mod" "sr_mod" ];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ ];
boot.extraModulePackages = [ ];
fileSystems."/" =
{ device = "rpool/root/nixos";
fsType = "zfs";
};
fileSystems."/home" =
{ device = "rpool/home";
fsType = "zfs";
};
fileSystems."/boot" =
{ device = "/dev/disk/by-uuid/56B8-1FC0";
fsType = "vfat";
};
swapDevices =
[ { device = "/dev/disk/by-uuid/0fe95042-8197-4969-a549-65565cf70171"; }
];
}