flake: reorganize and document inputs

This commit is contained in:
Aly Raffauf 2024-06-11 19:09:00 -04:00
parent 9fd64dd25b
commit 65ef82d0b4

View file

@ -2,35 +2,37 @@
description = "Aly's NixOS flake."; description = "Aly's NixOS flake.";
inputs = { inputs = {
# Latest stable NixOS release. agenix = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-24.05"; url = "github:ryantm/agenix";
# Stable home-manager, synced with latest stable nixpkgs.
home-manager = {
url = "github:nix-community/home-manager/release-24.05";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
}; };
# Unstable NixOS.
nixpkgsUnstable.url = "github:nixos/nixpkgs/nixos-unstable";
# Automated disk partitioning. # Automated disk partitioning.
disko = { disko = {
url = "github:nix-community/disko"; url = "github:nix-community/disko";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
}; };
# Stable home-manager, synced with latest stable nixpkgs.
home-manager = {
url = "github:nix-community/home-manager/release-24.05";
inputs.nixpkgs.follows = "nixpkgs";
};
# Latest hyprland from git.
hyprland.url = "git+https://github.com/hyprwm/Hyprland?submodules=1";
## Motion sensor and auto-rotate for Hyprland.
iio-hyprland.url = "github:JeanSchoeller/iio-hyprland";
# Pre-baked hardware support for various devices. # Pre-baked hardware support for various devices.
nixos-hardware.url = "github:NixOS/nixos-hardware/master"; nixos-hardware.url = "github:NixOS/nixos-hardware/master";
hyprland.url = "git+https://github.com/hyprwm/Hyprland?submodules=1"; # Latest stable NixOS release.
nixpkgs.url = "github:nixos/nixpkgs/nixos-24.05";
iio-hyprland.url = "github:JeanSchoeller/iio-hyprland"; # Unstable NixOS.
nixpkgsUnstable.url = "github:nixos/nixpkgs/nixos-unstable";
agenix = {
url = "github:ryantm/agenix";
inputs.nixpkgs.follows = "nixpkgs";
};
}; };
nixConfig = { nixConfig = {