33 lines
660 B
Nix
33 lines
660 B
Nix
{
|
|
config,
|
|
lib,
|
|
inputs,
|
|
...
|
|
}:
|
|
{
|
|
system = {
|
|
hostname = "apollo";
|
|
mainUser.name = "rafiq";
|
|
mainUser.publicKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILdsZyY3gu8IGB8MzMnLdh+ClDxQQ2RYG9rkeetIKq8n";
|
|
bootloader = "systemd-boot";
|
|
};
|
|
|
|
hardware = {
|
|
platform = "intel";
|
|
drives.btrfs = {
|
|
enable = true;
|
|
drive = "/dev/disk/by-id/nvme-eui.002538d221b47b01";
|
|
ephemeralRoot = true;
|
|
};
|
|
};
|
|
|
|
server = {
|
|
enableDDNS = true;
|
|
mountHelios = true;
|
|
databases.mongodb.enable = true;
|
|
databases.mysql.enable = true;
|
|
librechat.enable = true;
|
|
};
|
|
|
|
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
|
}
|