86 lines
2.1 KiB
Nix
86 lines
2.1 KiB
Nix
{
|
|
inputs = {
|
|
nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable";
|
|
|
|
darwin = {
|
|
url = "github:lnl7/nix-darwin";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
|
|
home-manager = {
|
|
url = "github:nix-community/home-manager";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
|
|
agenix = {
|
|
url = "github:ryantm/agenix";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
inputs.darwin.follows = "darwin";
|
|
};
|
|
|
|
attic = {
|
|
url = "github:zhaofengli/attic";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
|
|
neovim-nightly-overlay = {
|
|
url = "github:nix-community/neovim-nightly-overlay?rev=c57746e2b9e3b42c0be9d9fd1d765f245c3827b7";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
|
|
nifoc-overlay = {
|
|
url = "github:nifoc/nix-overlay";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
};
|
|
|
|
outputs = inputs@{ self, ... }:
|
|
let
|
|
Styx = import ./system/flakes/Styx.nix {
|
|
inherit (inputs) nixpkgs;
|
|
inherit (inputs) home-manager;
|
|
inherit (inputs) darwin;
|
|
inherit inputs;
|
|
};
|
|
|
|
sail = import ./system/flakes/sail.nix {
|
|
inherit (inputs) nixpkgs;
|
|
inherit (inputs) home-manager;
|
|
inherit (inputs) agenix;
|
|
inherit inputs;
|
|
};
|
|
|
|
attic = import ./system/flakes/attic.nix {
|
|
inherit (inputs) nixpkgs;
|
|
inherit (inputs) home-manager;
|
|
inherit (inputs) agenix;
|
|
inherit (inputs) attic;
|
|
inherit inputs;
|
|
};
|
|
|
|
mediaserver = import ./system/flakes/mediaserver.nix {
|
|
inherit (inputs) nixpkgs;
|
|
inherit (inputs) home-manager;
|
|
inherit (inputs) agenix;
|
|
inherit inputs;
|
|
};
|
|
|
|
adsb-antenna = import ./system/flakes/adsb-antenna.nix {
|
|
inherit (inputs) nixpkgs;
|
|
inherit (inputs) home-manager;
|
|
inherit inputs;
|
|
};
|
|
in
|
|
{
|
|
darwinConfigurations = {
|
|
"Styx" = Styx.system;
|
|
};
|
|
|
|
nixosConfigurations = {
|
|
sail = sail.system;
|
|
attic = attic.system;
|
|
mediaserver = mediaserver.system;
|
|
adsb-antenna = adsb-antenna.system;
|
|
};
|
|
};
|
|
}
|