2024-11-28 15:32:52 +01:00
|
|
|
{ pkgs, ... }:
|
2024-11-26 18:14:27 +01:00
|
|
|
{
|
|
|
|
imports = [
|
|
|
|
../../config/basic
|
|
|
|
../../config/support/initrd-ssh.nix
|
|
|
|
../../config/support/zfs.nix
|
2024-11-27 14:26:48 +01:00
|
|
|
../../config/services/idmail.nix
|
|
|
|
../../config/services/stalwart.nix
|
2024-11-26 18:14:27 +01:00
|
|
|
|
|
|
|
./net.nix
|
|
|
|
./fs.nix
|
|
|
|
];
|
|
|
|
boot = {
|
|
|
|
initrd.availableKernelModules = [
|
|
|
|
"virtio_pci"
|
|
|
|
"virtio_net"
|
|
|
|
"virtio_scsi"
|
|
|
|
"virtio_blk"
|
|
|
|
"virtio_gpu"
|
|
|
|
];
|
|
|
|
kernelParams = [ "console=tty" ];
|
|
|
|
loader = {
|
|
|
|
systemd-boot.enable = true;
|
|
|
|
efi.canTouchEfiVariables = true;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
nixpkgs.hostPlatform = "aarch64-linux";
|
2024-11-27 21:03:50 +01:00
|
|
|
users.users.build = {
|
|
|
|
isSystemUser = true;
|
|
|
|
shell = pkgs.bash;
|
2024-11-28 15:32:52 +01:00
|
|
|
group = "nogroup";
|
2024-11-27 21:03:50 +01:00
|
|
|
extraGroups = [ "nix-build" ];
|
|
|
|
createHome = false;
|
|
|
|
};
|
|
|
|
users.groups.nix-build = { };
|
2024-12-12 20:12:36 +01:00
|
|
|
topology.self.icon = "devices.cloud-server";
|
2024-11-26 18:14:27 +01:00
|
|
|
}
|