dotfiles/flake.nix

71 lines
1.6 KiB
Nix
Raw Normal View History

2021-12-06 22:35:29 +00:00
{
inputs = {
2022-07-30 16:18:04 +00:00
nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable";
2021-12-06 22:35:29 +00:00
2022-02-03 22:35:52 +00:00
darwin = {
url = "github:lnl7/nix-darwin";
2022-07-30 16:18:04 +00:00
inputs.nixpkgs.follows = "nixpkgs";
2022-02-03 22:35:52 +00:00
};
2021-12-10 21:15:13 +00:00
home-manager = {
url = "github:nix-community/home-manager";
2022-07-30 16:18:04 +00:00
inputs.nixpkgs.follows = "nixpkgs";
2021-12-10 21:15:13 +00:00
};
2021-12-06 22:35:29 +00:00
ragenix = {
url = "github:yaxitech/ragenix";
2023-02-05 16:51:04 +00:00
inputs.nixpkgs.follows = "nixpkgs";
};
2021-12-17 20:41:54 +00:00
neovim-nightly-overlay = {
url = "github:nix-community/neovim-nightly-overlay";
2023-02-13 18:44:04 +00:00
inputs.nixpkgs.follows = "nixpkgs";
2021-12-17 20:41:54 +00:00
};
2021-12-14 19:34:31 +00:00
2022-07-30 18:17:39 +00:00
arion = {
url = "github:hercules-ci/arion";
inputs.nixpkgs.follows = "nixpkgs";
};
2021-12-17 20:41:54 +00:00
nifoc-overlay = {
url = "github:nifoc/nix-overlay";
2022-07-30 16:18:04 +00:00
inputs.nixpkgs.follows = "nixpkgs";
2021-12-17 20:41:54 +00:00
};
2021-12-06 22:35:29 +00:00
};
2022-07-29 18:13:31 +00:00
outputs = inputs@{ self, ... }:
2022-02-03 22:35:52 +00:00
let
2022-08-01 20:39:14 +00:00
Styx = import ./system/flakes/Styx.nix {
2022-07-30 16:18:04 +00:00
inherit (inputs) nixpkgs;
2022-07-29 18:13:31 +00:00
inherit (inputs) home-manager;
inherit (inputs) darwin;
inherit inputs;
2022-02-03 22:35:52 +00:00
};
2022-07-30 16:18:04 +00:00
2022-08-01 20:39:14 +00:00
sail = import ./system/flakes/sail.nix {
inherit (inputs) nixpkgs;
inherit (inputs) home-manager;
2023-03-01 13:36:08 +00:00
inherit (inputs) ragenix;
2022-08-01 20:39:14 +00:00
inherit (inputs) arion;
inherit inputs;
};
adsb-antenna = import ./system/flakes/adsb-antenna.nix {
2022-07-30 16:18:04 +00:00
inherit (inputs) nixpkgs;
2022-07-31 18:48:49 +00:00
inherit (inputs) home-manager;
2022-07-30 18:17:39 +00:00
inherit (inputs) arion;
2022-07-31 18:49:51 +00:00
inherit inputs;
2022-07-30 16:18:04 +00:00
};
2022-02-03 22:35:52 +00:00
in
2022-08-01 20:39:14 +00:00
{
darwinConfigurations = {
"Styx" = Styx.system;
};
nixosConfigurations = {
sail = sail.system;
adsb-antenna = adsb-antenna.system;
};
};
2021-12-06 22:35:29 +00:00
}