Skip to content

Instantly share code, notes, and snippets.

@shelvacu
Last active May 23, 2025 03:06
Show Gist options
  • Save shelvacu/97ea0384efdc231fc0b893a24737cce3 to your computer and use it in GitHub Desktop.
Save shelvacu/97ea0384efdc231fc0b893a24737cce3 to your computer and use it in GitHub Desktop.
{
"nodes": {
"nixpkgs": {
"locked": {
"lastModified": 1747967828,
"narHash": "sha256-wA/ckEEgrmv+0N2L4BQ7XfU1DHvCGTDd4nPpZwmqi6I=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "eda6a410f1ac02dc9a0e60869dd5b7e134d04d4f",
"type": "github"
},
"original": {
"owner": "nixos",
"repo": "nixpkgs",
"rev": "eda6a410f1ac02dc9a0e60869dd5b7e134d04d4f",
"type": "github"
}
},
"root": {
"inputs": {
"nixpkgs": "nixpkgs"
}
}
},
"root": "root",
"version": 7
}
{
# latest master as of 2025-05-22
inputs.nixpkgs.url = "github:nixos/nixpkgs/eda6a410f1ac02dc9a0e60869dd5b7e134d04d4f";
outputs = { nixpkgs, ... }@inputs: {
debugInputs = inputs;
nixosConfigurations.example = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
modules = [
{
boot.supportedFilesystems = [ "notARealFileSystem" ];
}
# isoInstaller has enough options to make it Just Build for this example
"${inputs.nixpkgs}/nixos/modules/installer/cd-dvd/installation-cd-minimal.nix"
];
};
};
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment