oizys/flake.nix

39 lines
1.3 KiB
Nix
Raw Normal View History

2024-01-23 11:51:13 -06:00
{
2024-01-28 11:00:05 -06:00
description = "nix begat oizys";
2024-01-23 11:51:13 -06:00
inputs = {
2024-01-23 19:13:42 -06:00
nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable";
2024-01-31 14:47:55 -06:00
hyprland.url = "github:hyprwm/Hyprland/main";
hyprland.inputs.nixpkgs.follows = "nixpkgs";
hyprland-contrib.url = "github:hyprwm/contrib";
hyprland-contrib.inputs.nixpkgs.follows = "nixpkgs";
2024-01-23 11:51:13 -06:00
nixpkgs-wayland.url = "github:nix-community/nixpkgs-wayland";
2024-01-23 14:56:11 -06:00
nixpkgs-wayland.inputs.nixpkgs.follows = "nixpkgs";
2024-01-23 19:13:42 -06:00
nixpkgs-wayland.inputs.nix-eval-jobs.follows = "nix-eval-jobs";
nix-eval-jobs.url = "github:nix-community/nix-eval-jobs";
nix-eval-jobs.inputs.nixpkgs.follows = "nixpkgs";
2024-01-23 11:51:13 -06:00
};
nixConfig = {
extra-substituters = [
"https://hyprland.cachix.org"
"https://nixpkgs-wayland.cachix.org"
"https://daylin.cachix.org"
];
extra-trusted-public-keys = [
"hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc="
"nixpkgs-wayland.cachix.org-1:3lwxaILxMRkVhehr5StQprHdEo4IrE8sRho9R9HOLYA="
"daylin.cachix.org-1:fLdSnbhKjtOVea6H9KqXeir+PyhO+sDSPhEW66ClE/k="
];
};
2024-01-31 14:47:55 -06:00
2024-02-02 16:39:43 -06:00
outputs = inputs @ {nixpkgs, ...}: let
2024-01-23 11:51:13 -06:00
lib = import ./lib {inherit inputs nixpkgs;};
2024-02-06 09:51:21 -06:00
inherit (lib) findModules buildHosts buildOizys;
2024-01-23 11:51:13 -06:00
in {
2024-01-24 14:12:52 -06:00
nixosModules = findModules ./modules;
2024-02-06 09:51:21 -06:00
nixosConfigurations = buildHosts {};
2024-01-28 11:00:05 -06:00
packages = buildOizys {};
2024-01-23 11:51:13 -06:00
};
}