mochi/nixos/hosts/varda/default.nix

38 lines
719 B
Nix

{ pkgs, ... }: {
imports = [ ];
networking.hostId = "cdab8473";
networking.hostName = "varda"; # Define your hostname.
fileSystems = {
"/" = {
device = "rpool/root";
fsType = "zfs";
};
"/home" = {
device = "rpool/home";
fsType = "zfs";
};
"/boot" = {
device = "/dev/disk/by-uuid/8091-E7F2";
fsType = "vfat";
};
};
swapDevices = [ ];
# System settings and services.
mySystem = {
purpose = "Production";
system.motd.networkInterfaces = [ "enp1s0" ];
security.acme.enable = true;
services = {
forgejo = {
enable = true;
package = pkgs.unstable.forgejo;
};
nginx.enable = true;
};
};
}