mirror of
https://github.com/daylinmorgan/oizys.git
synced 2024-11-05 06:03:15 -06:00
30 lines
724 B
Nix
30 lines
724 B
Nix
{
|
|
description = "An example NixOS configuration";
|
|
|
|
inputs = {
|
|
nixpkgs = { url = "github:nixos/nixpkgs/nixos-unstable"; };
|
|
nix-ld = {
|
|
url = "github:Mic92/nix-ld";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
};
|
|
|
|
|
|
outputs = inputs:
|
|
/* ignore:: */
|
|
let ignoreme = ({ config, lib, ... }: with lib; { system.nixos.revision = mkForce null; system.nixos.versionSuffix = mkForce "pre-git"; }); in
|
|
{
|
|
nixosConfigurations = {
|
|
|
|
nixos = inputs.nixpkgs.lib.nixosSystem {
|
|
system = "x86_64-linux";
|
|
modules = [
|
|
./configuration.nix
|
|
nix-ld.nixosModules.nix-ld
|
|
|
|
];
|
|
specialArgs = { inherit inputs; };
|
|
};
|
|
};
|
|
};
|
|
}
|