aether/flake.nix

29 lines
708 B
Nix
Raw Normal View History

2024-07-21 01:44:38 -04:00
{
description = "Server system conf";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
rpi5-kernel.url = "gitlab:vriska/nix-rpi5";
rpi5-kernel.inputs.nixpkgs.follows = "nixpkgs";
agenix.url = "github:ryantm/agenix";
agenix.inputs.nixpkgs.follows = "nixpkgs";
agenix.inputs.darwin.follows = "";
2024-07-21 01:44:38 -04:00
};
outputs = inputs@{ self, nixpkgs, agenix, ... }:
2024-07-21 01:44:38 -04:00
{
nixosConfigurations."toki-aether" =
2024-07-21 01:44:38 -04:00
nixpkgs.lib.nixosSystem {
system = "aarch64-linux";
modules = [
{ _module.args = inputs; }
agenix.nixosModules.default
2024-07-21 01:44:38 -04:00
./config.nix
];
};
nixosConfigurations.default = self.nixosConfigurations."toki-aether";
2024-07-21 01:44:38 -04:00
};
}