2022-06-06 23:12:54 +02:00
|
|
|
{
|
|
|
|
description = "System configuration for zion";
|
|
|
|
|
|
|
|
inputs = {
|
2024-07-16 18:05:48 +02:00
|
|
|
nixpkgs.url = "nixpkgs/nixos-24.05";
|
2023-03-23 06:56:25 +01:00
|
|
|
nixpkgs-unstable.url = "nixpkgs/nixos-unstable";
|
2022-07-12 21:02:11 +02:00
|
|
|
agenix = {
|
|
|
|
url = "github:ryantm/agenix";
|
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
};
|
2022-11-07 23:51:20 +01:00
|
|
|
nixos-hardware.url = "github:NixOS/nixos-hardware";
|
2022-07-20 16:34:14 +02:00
|
|
|
nix-matrix-appservices = {
|
|
|
|
url = "gitlab:coffeetables/nix-matrix-appservices";
|
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
};
|
2022-06-06 23:12:54 +02:00
|
|
|
};
|
|
|
|
|
2024-12-11 22:14:07 +01:00
|
|
|
outputs =
|
|
|
|
{
|
|
|
|
self,
|
|
|
|
nixpkgs,
|
|
|
|
nixpkgs-unstable,
|
|
|
|
agenix,
|
|
|
|
nixos-hardware,
|
|
|
|
nix-matrix-appservices,
|
|
|
|
...
|
|
|
|
}@inputs:
|
2022-06-06 23:12:54 +02:00
|
|
|
let
|
2025-02-27 18:00:49 +01:00
|
|
|
system = "x86_64-linux";
|
2022-06-06 23:12:54 +02:00
|
|
|
|
2022-07-12 21:02:11 +02:00
|
|
|
pkgs = import pkgs { inherit system; };
|
2022-06-06 23:12:54 +02:00
|
|
|
|
2023-03-23 06:56:25 +01:00
|
|
|
pkgs-unstable = import inputs.nixpkgs-unstable { inherit system; };
|
|
|
|
|
2022-06-06 23:12:54 +02:00
|
|
|
lib = nixpkgs.lib;
|
|
|
|
|
2024-12-11 22:14:07 +01:00
|
|
|
in
|
|
|
|
{
|
2022-06-06 23:12:54 +02:00
|
|
|
nixosConfigurations.zion = lib.nixosSystem {
|
|
|
|
inherit system;
|
2022-07-12 21:02:11 +02:00
|
|
|
modules = [
|
|
|
|
(import ./configuration.nix)
|
|
|
|
agenix.nixosModules.age
|
2022-07-20 16:34:14 +02:00
|
|
|
nix-matrix-appservices.nixosModule
|
2025-02-27 18:00:49 +01:00
|
|
|
inputs.nixos-hardware.nixosModules.aoostar-r1-n100
|
2022-07-12 21:02:11 +02:00
|
|
|
];
|
2023-03-23 06:56:25 +01:00
|
|
|
specialArgs = {
|
|
|
|
inherit inputs;
|
|
|
|
inherit pkgs-unstable;
|
|
|
|
};
|
2022-06-06 23:12:54 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
};
|
|
|
|
}
|