29 lines
564 B
Nix
29 lines
564 B
Nix
{ config, lib, modulesPath, pkgs, ... }:
|
|
|
|
{
|
|
imports = [
|
|
"${modulesPath}/virtualisation/amazon-image.nix"
|
|
];
|
|
|
|
networking.hostName = "nixos-zfs-ec2";
|
|
networking.hostId = "6e69787a";
|
|
|
|
nix.settings.experimental-features = [ "nix-command" "flakes" ];
|
|
|
|
environment.systemPackages = [
|
|
pkgs.amazon-ssm-agent
|
|
pkgs.git
|
|
pkgs.zfs
|
|
];
|
|
|
|
services.amazon-ssm-agent.enable = true;
|
|
services.openssh.enable = lib.mkForce false;
|
|
|
|
quixos.modules.zfsNixStore = {
|
|
enable = true;
|
|
pool = "nixos-zfs-nix";
|
|
};
|
|
|
|
system.stateVersion = "25.05";
|
|
}
|