feat(audit): address batch 4 and finalize script audit
- Implement nomarchy-skill, nomarchy-manual, nomarchy-backup, nomarchy-install - Implement nomarchy-install-docker-dbs (stub) - Port nomarchy-docs-keybindings and nomarchy-docs-scripts to packaged scripts - Add installerVm to flake.nix nixosConfigurations, packages, and apps - Update nomarchy-test-installer to use nix run .#installerVm - Add docker support to virtualization.nix and options.nix - Add glow to script dependencies - Finalize docs/SCRIPTS.md update
This commit is contained in:
29
flake.nix
29
flake.nix
@@ -120,6 +120,25 @@
|
||||
];
|
||||
};
|
||||
|
||||
# Installer VM for testing
|
||||
installerVm = nixpkgs.lib.nixosSystem {
|
||||
specialArgs = { inherit inputs; };
|
||||
modules = [
|
||||
{
|
||||
nixpkgs.hostPlatform = "x86_64-linux";
|
||||
nixpkgs.overlays = overlays;
|
||||
}
|
||||
"${nixpkgs}/nixos/modules/installer/cd-dvd/installation-cd-minimal.nix"
|
||||
./hosts/installer-iso.nix
|
||||
{
|
||||
system.stateVersion = "25.11";
|
||||
networking.hostName = "nomarchy-installer-vm";
|
||||
virtualisation.vmVariant.virtualisation.memorySize = 4096;
|
||||
virtualisation.vmVariant.virtualisation.cores = 2;
|
||||
}
|
||||
];
|
||||
};
|
||||
|
||||
# Graphical installer ISO (legacy, for users who prefer GUI)
|
||||
installerIsoGraphical = nixpkgs.lib.nixosSystem {
|
||||
specialArgs = { inherit inputs; };
|
||||
@@ -208,6 +227,16 @@
|
||||
# nix build /etc/nomarchy#allThemeVariants --no-link
|
||||
inherit allThemeVariants;
|
||||
default = allThemeVariants;
|
||||
|
||||
# Expose installer VM as a package
|
||||
installerVm = self.nixosConfigurations.installerVm.config.system.build.vm;
|
||||
};
|
||||
|
||||
apps.${system} = {
|
||||
installerVm = {
|
||||
type = "app";
|
||||
program = "${self.packages.${system} .installerVm}/bin/run-nomarchy-installer-vm";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user