35 lines
716 B
Nix
Executable file
35 lines
716 B
Nix
Executable file
{
|
|
description = "A very basic flake";
|
|
|
|
inputs = {
|
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
|
nixcord = {
|
|
url = "github:4evy/nixcord";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
|
|
nix-maid = {
|
|
url = "git+https://codeberg.org/viperML/nix-maid";
|
|
};
|
|
};
|
|
|
|
outputs =
|
|
inputs@{
|
|
self,
|
|
nixpkgs,
|
|
nixcord,
|
|
nix-maid,
|
|
}:
|
|
{
|
|
nixosConfigurations.nerv = nixpkgs.lib.nixosSystem {
|
|
specialArgs = { inherit inputs; };
|
|
system = "x86_64-linux";
|
|
modules = [
|
|
inputs.nixcord.nixosModules.nixcord
|
|
nix-maid.nixosModules.default
|
|
./configuration.nix
|
|
./maid.nix
|
|
];
|
|
};
|
|
};
|
|
}
|