mochi/nixos/hosts/varda/default.nix

39 lines
719 B
Nix
Raw Normal View History

2024-09-15 10:49:44 -05:00
{ pkgs, ... }: {
2024-06-20 08:59:56 -05:00
imports = [ ];
networking.hostId = "cdab8473";
networking.hostName = "varda"; # Define your hostname.
2024-07-30 18:47:59 -05:00
fileSystems = {
"/" = {
device = "rpool/root";
fsType = "zfs";
};
2024-06-20 08:59:56 -05:00
2024-07-30 18:47:59 -05:00
"/home" = {
device = "rpool/home";
fsType = "zfs";
};
2024-06-20 08:59:56 -05:00
2024-07-30 18:47:59 -05:00
"/boot" = {
device = "/dev/disk/by-uuid/8091-E7F2";
fsType = "vfat";
};
2024-06-22 08:49:32 -05:00
};
2024-06-20 08:59:56 -05:00
swapDevices = [ ];
# System settings and services.
mySystem = {
2024-06-22 10:08:29 -05:00
purpose = "Production";
2024-06-20 08:59:56 -05:00
system.motd.networkInterfaces = [ "enp1s0" ];
security.acme.enable = true;
services = {
2024-09-15 10:49:44 -05:00
forgejo = {
enable = true;
package = pkgs.unstable.forgejo;
};
2024-06-20 08:59:56 -05:00
nginx.enable = true;
};
};
}