nixconfig/flake.nix

77 lines
1.8 KiB
Nix
Raw Normal View History

2023-04-12 20:32:07 +02:00
{
description = "SoraFlake";
2023-11-04 02:28:27 +01:00
2023-04-12 20:32:07 +02:00
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
hardware.url = "github:nixos/nixos-hardware";
nur.url = "github:nix-community/nur";
2023-11-04 02:28:27 +01:00
2023-04-12 20:32:07 +02:00
home-manager = {
url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs";
2023-11-04 02:28:27 +01:00
};
2023-04-12 20:32:07 +02:00
darwin = {
url = "github:lnl7/nix-darwin/master";
inputs.nixpkgs.follows = "nixpkgs";
};
2023-11-16 23:06:28 +01:00
hyprland = {
url = "github:hyprwm/Hyprland";
2023-11-04 02:28:27 +01:00
inputs.nixpkgs.follows = "nixpkgs";
};
2023-11-16 23:06:28 +01:00
sops-nix = {
url = "github:Mic92/sops-nix";
2023-11-21 02:36:47 +01:00
inputs.nixpkgs.follows = "nixpkgs";
2023-11-16 23:06:28 +01:00
inputs.nixpkgs-stable.follows = "nixpkgs";
};
nix-colors.url = "github:misterio77/nix-colors";
2023-11-04 02:28:27 +01:00
2024-04-20 12:58:28 +02:00
arion.url = "github:hercules-ci/arion";
arion.inputs.nixpkgs.follows = "nixpkgs";
2023-04-12 20:32:07 +02:00
};
2023-11-04 02:28:27 +01:00
outputs = inputs:
2024-04-17 08:26:08 +02:00
let gen = import ./generator.nix { inherit inputs; };
2023-11-16 23:06:28 +01:00
in {
2023-11-24 16:57:46 +01:00
devShells = import ./shells { inherit inputs; };
2024-04-17 08:26:08 +02:00
nixosConfigurations = {
valinor = gen.generate { host = "valinor"; };
iriy = gen.generate { host = "iriy"; };
efir = gen.generate { host = "efir"; };
avalon = gen.generate { host = "avalon"; };
ci = gen.generate { host = "ci"; };
sandbox = gen.generate { host = "sandbox"; };
};
darwinConfigurations = { asgard = gen.generate { host = "asgard"; }; };
homeConfigurations = {
yomi = gen.generate { host = "example"; };
example = gen.generate { host = "example"; };
};
2023-04-12 20:32:07 +02:00
};
2023-11-04 02:28:27 +01:00
# ===== Unsupported/NotImplemented ======
# menel - PI/ARM64
# ilduma - PI/ARM64
# daimoth - PI/ARM64
# gimle - ....
# ===== Unused ======
#
# naraka - ?
# diyu - ?
# tirnanog - ?
# valhalla - ?
# arcadia - ?
# elysium - ?
# empyrean - ?
# duat - ?
# sheol - ?
# adlivun - ?
# araf - ?
# aman/araman - ?
2023-04-12 20:32:07 +02:00
}