23 lines
477 B
Nix
23 lines
477 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";
|
||
|
};
|
||
|
|
||
|
outputs = inputs@{ self, nixpkgs, rpi5-kernel, ... }:
|
||
|
{
|
||
|
nixosConfigurations."toki-rpi5" =
|
||
|
nixpkgs.lib.nixosSystem {
|
||
|
system = "aarch64-linux";
|
||
|
modules = [
|
||
|
{ _module.args = inputs; }
|
||
|
./config.nix
|
||
|
];
|
||
|
};
|
||
|
};
|
||
|
}
|