2020-10-25 05:59:16 -05:00
|
|
|
|
2020-10-24 22:55:15 -05:00
|
|
|
{
|
|
|
|
description = "An example NixOS configuration";
|
|
|
|
|
2020-10-25 05:59:16 -05:00
|
|
|
inputs = {
|
|
|
|
nixpkgs = { url = "github:nixos/nixpkgs/nixos-unstable"; };
|
2020-11-08 01:01:15 -06:00
|
|
|
nur = { url = "github:nix-community/NUR"; };
|
2020-10-25 05:59:16 -05:00
|
|
|
};
|
2020-10-24 22:55:15 -05:00
|
|
|
|
2020-10-25 05:59:16 -05:00
|
|
|
outputs = inputs:
|
|
|
|
/* ignore:: */ let ignoreme = ({config,lib,...}: with lib; { system.nixos.revision = mkForce null; system.nixos.versionSuffix = mkForce "pre-git"; }); in
|
|
|
|
{
|
2020-10-24 22:55:15 -05:00
|
|
|
nixosConfigurations = {
|
2020-10-25 05:59:16 -05:00
|
|
|
|
|
|
|
mysystem = inputs.nixpkgs.lib.nixosSystem {
|
2020-10-24 22:55:15 -05:00
|
|
|
system = "x86_64-linux";
|
|
|
|
modules = [
|
2020-10-25 05:59:16 -05:00
|
|
|
(import ./configuration.nix)
|
|
|
|
|
|
|
|
/* ignore */ ignoreme # ignore this; don't include it; it is a small helper for this example
|
2020-11-08 01:01:15 -06:00
|
|
|
];
|
|
|
|
specialArgs = { inherit inputs; };
|
2020-10-24 22:55:15 -05:00
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|