mirror of
https://github.com/daylinmorgan/oizys.git
synced 2024-11-05 06:03:15 -06:00
83c892937d
Files listed in `modules` are automatically `import`ed.
27 lines
712 B
Nix
27 lines
712 B
Nix
|
|
{
|
|
description = "An example NixOS configuration";
|
|
|
|
inputs = {
|
|
nixpkgs = { url = "github:nixos/nixpkgs/nixos-unstable"; };
|
|
nur = { url = "github:nix-community/NUR"; };
|
|
};
|
|
|
|
outputs = inputs:
|
|
/* ignore:: */ let ignoreme = ({config,lib,...}: with lib; { system.nixos.revision = mkForce null; system.nixos.versionSuffix = mkForce "pre-git"; }); in
|
|
{
|
|
nixosConfigurations = {
|
|
|
|
mysystem = inputs.nixpkgs.lib.nixosSystem {
|
|
system = "x86_64-linux";
|
|
modules = [
|
|
./configuration.nix
|
|
|
|
/* ignore */ ignoreme # ignore this; don't include it; it is a small helper for this example
|
|
];
|
|
specialArgs = { inherit inputs; };
|
|
};
|
|
};
|
|
};
|
|
}
|
|
|