30 lines
747 B
Nix
30 lines
747 B
Nix
{
|
|
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 = "";
|
|
};
|
|
|
|
outputs = inputs@{ self, nixpkgs, agenix, ... }:
|
|
{
|
|
nixosConfigurations."toki-aether" =
|
|
nixpkgs.lib.nixosSystem {
|
|
system = "aarch64-linux";
|
|
modules = [
|
|
{ _module.args = inputs; }
|
|
agenix.nixosModules.default
|
|
./hardware-configuration.nix
|
|
./config.nix
|
|
];
|
|
};
|
|
nixosConfigurations.default = self.nixosConfigurations."toki-aether";
|
|
};
|
|
}
|