use nix-maid
This commit is contained in:
commit
b05c69f720
5 changed files with 372 additions and 0 deletions
35
flake.nix
Executable file
35
flake.nix
Executable file
|
|
@ -0,0 +1,35 @@
|
|||
{
|
||||
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
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Reference in a new issue