2023-06-23 07:43:29 +00:00
|
|
|
{
|
|
|
|
# locked by the copied lockfile. inputs must match the main flake
|
|
|
|
inputs = {
|
|
|
|
nixpkgs.url = "nixpkgs/nixos-unstable";
|
|
|
|
stable.url = "nixpkgs/nixos-23.05";
|
2023-06-27 22:37:18 +00:00
|
|
|
flake-utils.url = "github:numtide/flake-utils";
|
2023-06-23 07:43:29 +00:00
|
|
|
|
|
|
|
home-manager = {
|
|
|
|
url = "github:nix-community/home-manager";
|
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
};
|
|
|
|
|
2023-06-27 22:37:18 +00:00
|
|
|
emacs-overlay = {
|
|
|
|
url = "github:nix-community/emacs-overlay?rev=b7a065e692e944e6b68d4285013ca426a8de6663";
|
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
inputs.flake-utils.follows = "flake-utils";
|
|
|
|
};
|
|
|
|
|
2023-06-23 07:43:29 +00:00
|
|
|
hyprland = {
|
|
|
|
url = "github:hyprwm/Hyprland";
|
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
};
|
|
|
|
|
|
|
|
hyprland-hy3 = {
|
|
|
|
url = "github:outfoxxed/hy3";
|
|
|
|
inputs.hyprland.follows = "hyprland";
|
|
|
|
};
|
|
|
|
|
|
|
|
hyprpaper = {
|
|
|
|
url = "github:hyprwm/Hyprpaper";
|
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
};
|
|
|
|
|
2023-06-28 06:14:30 +00:00
|
|
|
ironbar = {
|
|
|
|
url = "github:JakeStanger/ironbar";
|
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
inputs.rust-overlay.follows = "rust-overlay";
|
|
|
|
};
|
|
|
|
|
2023-06-27 04:16:43 +00:00
|
|
|
nur.url = "github:nix-community/NUR";
|
|
|
|
|
2023-06-23 07:43:29 +00:00
|
|
|
# devenv
|
|
|
|
rust-overlay = {
|
|
|
|
url = "github:oxalica/rust-overlay";
|
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
2023-06-27 22:37:18 +00:00
|
|
|
inputs.flake-utils.follows = "flake-utils";
|
2023-06-23 07:43:29 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
outputs = finputs @ { nixpkgs, ... }: let
|
|
|
|
systems = [ "x86_64-linux" ];
|
|
|
|
in builtins.foldl' (a: b: a // b) {} (builtins.map (system: let
|
|
|
|
pkgs = import nixpkgs { inherit system; };
|
|
|
|
inputs = finputs // { inherit system pkgs inputs; };
|
|
|
|
in {
|
|
|
|
devShells.${system} = {
|
|
|
|
rust = import ./rust.nix inputs;
|
|
|
|
};
|
|
|
|
}) systems);
|
|
|
|
}
|