2024-01-23 11:51:13 -06:00
|
|
|
{
|
|
|
|
description = "daylinmorgan-nixcfg";
|
|
|
|
|
|
|
|
inputs = {
|
|
|
|
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
|
|
|
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 11:51:13 -06:00
|
|
|
hyprland.url = "github:hyprwm/Hyprland/main";
|
2024-01-23 14:56:11 -06:00
|
|
|
hyprland.inputs.nixpkgs.follows = "nixpkgs";
|
2024-01-23 11:51:13 -06:00
|
|
|
hyprland-contrib.url = "github:hyprwm/contrib";
|
2024-01-23 14:56:11 -06:00
|
|
|
hyprland-contrib.inputs.nixpkgs.follows = "nixpkgs";
|
2024-01-23 15:12:38 -06:00
|
|
|
# need unreleased version for wayland issue
|
2024-01-23 11:51:13 -06:00
|
|
|
wezterm.url = "github:wez/wezterm?dir=nix";
|
2024-01-23 14:56:11 -06:00
|
|
|
wezterm.inputs.nixpkgs.follows = "nixpkgs";
|
2024-01-23 11:51:13 -06:00
|
|
|
};
|
|
|
|
|
2024-01-23 12:33:38 -06:00
|
|
|
nixConfig = {
|
2024-01-23 15:12:38 -06:00
|
|
|
extra-substituters = [
|
|
|
|
"https://hyprland.cachix.org"
|
2024-01-23 15:50:42 -06:00
|
|
|
"https://nixpkgs-wayland.cachix.org"
|
2024-01-23 15:12:38 -06:00
|
|
|
"https://daylin.cachix.org"
|
|
|
|
];
|
|
|
|
extra-trusted-public-keys = [
|
|
|
|
"hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc="
|
2024-01-23 15:50:42 -06:00
|
|
|
"nixpkgs-wayland.cachix.org-1:3lwxaILxMRkVhehr5StQprHdEo4IrE8sRho9R9HOLYA="
|
2024-01-23 15:12:38 -06:00
|
|
|
"daylin.cachix.org-1:fLdSnbhKjtOVea6H9KqXeir+PyhO+sDSPhEW66ClE/k="
|
|
|
|
];
|
2024-01-23 12:33:38 -06:00
|
|
|
};
|
|
|
|
|
2024-01-23 11:51:13 -06:00
|
|
|
outputs = inputs @ {
|
|
|
|
self,
|
|
|
|
nixpkgs,
|
|
|
|
...
|
|
|
|
}: let
|
|
|
|
lib = import ./lib {inherit inputs nixpkgs;};
|
|
|
|
in {
|
|
|
|
nixosModules = builtins.listToAttrs (lib.findModules ./modules);
|
|
|
|
nixosConfigurations = lib.mapHosts ./hosts;
|
|
|
|
};
|
|
|
|
}
|