Declare dev, scoped sudo/SSH, workspace ownership, Git and Neovim. Lock Nixpkgs, Home Manager and the unmodified dotfiles. Deploy user files declaratively and preserve a writable Lazy lockfile. Nix formatting and pure flake evaluation pass. Full build, empty-home deployment tests and activation of this reproducibility correction are still pending; the previous account baseline is live.
27 lines
590 B
Nix
27 lines
590 B
Nix
{ inputs, modulesPath, ... }:
|
|
|
|
{
|
|
imports = [
|
|
# Keep the image's EC2 boot, storage, metadata, SSH and SSM integration.
|
|
"${modulesPath}/virtualisation/amazon-image.nix"
|
|
./users.nix
|
|
./tools.nix
|
|
./neovim.nix
|
|
];
|
|
|
|
nixpkgs.hostPlatform = "x86_64-linux";
|
|
|
|
nix = {
|
|
channel.enable = false;
|
|
settings.experimental-features = [
|
|
"nix-command"
|
|
"flakes"
|
|
];
|
|
};
|
|
|
|
system.configurationRevision = inputs.self.rev or inputs.self.dirtyRev or null;
|
|
|
|
# Initial data/default compatibility, not the desired package release.
|
|
system.stateVersion = "26.05";
|
|
}
|