oizys/flake.nix

33 lines
1.0 KiB
Nix
Raw Normal View History

2024-01-23 11:51:13 -06:00
{
description = "daylinmorgan-nixcfg";
inputs = {
2024-01-23 19:13:42 -06:00
nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable";
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
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
};
outputs = inputs @ {
self,
nixpkgs,
...
}: let
lib = import ./lib {inherit inputs nixpkgs;};
2024-01-24 14:12:52 -06:00
inherit (lib) findModules mapHosts shToPkg;
2024-01-23 11:51:13 -06:00
in {
2024-01-24 14:12:52 -06:00
nixosModules = findModules ./modules;
nixosConfigurations = mapHosts ./hosts;
packages = shToPkg ./styx;
2024-01-23 11:51:13 -06:00
};
}