feat: init

This commit is contained in:
autumn-the-kitty-cat
2025-12-01 17:57:52 -05:00
commit efb5edee39
+33
View File
@@ -0,0 +1,33 @@
# https://nixos.wiki/wiki/Creating_a_NixOS_live_CD
# Create with the command below.
# nix build .#nixosConfigurations.iso.config.system.build.isoImage
{
description = "Custom Minimal NixOS installation media";
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
outputs =
{ self, nixpkgs }:
{
nixosConfigurations = {
iso = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
modules = [
(
{ pkgs, modulesPath, ... }:
{
imports = [ (modulesPath + "/installer/cd-dvd/installation-cd-minimal.nix") ];
networking.networkmanager.enable = true;
environment.systemPackages = with pkgs; [
neovim
git
nh
];
}
)
];
};
};
};
}