nixconfig/flake.nix

82 lines
1.6 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";
};
hyprland.url = "github:hyprwm/Hyprland";
sops-nix.url = "github:Mic92/sops-nix";
nix-colors.url = "github:misterio77/nix-colors";
2023-11-04 02:28:27 +01:00
snowfall-lib = {
url = "github:snowfallorg/lib";
inputs.nixpkgs.follows = "nixpkgs";
};
2023-04-12 20:32:07 +02:00
};
2023-11-04 02:28:27 +01:00
outputs = inputs:
let
lib = inputs.snowfall-lib.mkLib {
inherit inputs;
src = ./.;
2023-04-12 20:32:07 +02:00
};
2023-11-04 02:28:27 +01:00
in lib.mkFlake {
package-namespace = "custom";
channels-config = {
allowUnfree = true;
permittedInsecurePackages = [ ];
2023-04-12 20:32:07 +02:00
};
2023-11-04 02:28:27 +01:00
systems = {
modules = {
darwin = with inputs; [ sops-nix.nixosModules.sops ];
home = with inputs; [
nix-colors.homeManagerModules
hyprland.homeManagerModules
];
nixos = with inputs; [ sops-nix.nixosModules.sops ];
};
2023-04-12 20:32:07 +02:00
};
2023-11-04 02:28:27 +01:00
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
}