flake: add builder lib & formatter flake: add builder lib & formatter flake: add builder lib & formatter
102 lines
3 KiB
Nix
102 lines
3 KiB
Nix
{
|
|
# ooknet
|
|
description = "a nix configuration written by an orangutan";
|
|
|
|
outputs = {flake-parts, ...} @ inputs:
|
|
flake-parts.lib.mkFlake {inherit inputs;} {
|
|
systems = import inputs.systems;
|
|
imports = [./outputs];
|
|
};
|
|
|
|
# External inputs we depend on
|
|
inputs = {
|
|
# unstable because why not
|
|
nixpkgs.url = "github:Nixos/nixpkgs/nixos-unstable";
|
|
nixpkgs-small.url = "github:Nixos/nixpkgs/nixos-unstable-small";
|
|
|
|
# contains more up-to-date wayland related packages. no need enabling atm
|
|
# nixpkgs-wayland.url = "github:nix-community/nixpkgs-wayland";
|
|
|
|
# default system see <https://github.com/nix-systems/nix-systems>
|
|
systems.url = "github:nix-systems/default-linux";
|
|
# split your flake into... parts?
|
|
flake-parts = {
|
|
url = "github:hercules-ci/flake-parts";
|
|
inputs.nixpkgs-lib.follows = "nixpkgs";
|
|
};
|
|
|
|
# dotfile configuration
|
|
home-manager = {
|
|
url = "github:nix-community/home-manager";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
|
|
nix-index-db = {
|
|
url = "github:nix-community/nix-index-database";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
|
|
# nix shell environment on android
|
|
nix-on-droid = {
|
|
url = "github:nix-community/nix-on-droid/release-23.11";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
inputs.home-manager.follows = "home-manager";
|
|
};
|
|
|
|
# wrapper for nix rebuild
|
|
nh = {
|
|
url = "github:viperML/nh";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
|
|
# nix language server that berates me for my mistakes
|
|
nil = {
|
|
url = "github:oxalica/nil";
|
|
inputs.nixpkgs.follows = "nixpkgs-small";
|
|
};
|
|
|
|
# colorschemes library
|
|
nix-colors.url = "github:misterio77/nix-colors";
|
|
|
|
# secret management
|
|
agenix.url = "github:ryantm/agenix";
|
|
|
|
# hyprland "ecosystem". hyprDE perhaps?
|
|
hyprland = {
|
|
url = "git+https://github.com/hyprwm/Hyprland?submodules=1";
|
|
};
|
|
hyprlock.url = "github:hyprwm/hyprlock";
|
|
hypridle.url = "github:hyprwm/hypridle";
|
|
hyprpaper.url = "github:hyprwm/hyprpaper";
|
|
hyprland-contrib.url = "github:hyprwm/contrib";
|
|
xdg-portal-hyprland.url = "github:hyprwm/xdg-desktop-portal-hyprland";
|
|
# hyprland-plugins = {
|
|
# url = "github:hyprwm/hyprland-plugins";
|
|
# inputs.hyprland.follows = "hyprland";
|
|
# };
|
|
|
|
# helix because noun -> verb helps scratches my ape brain in the right spot
|
|
helix = {
|
|
url = "github:helix-editor/helix";
|
|
inputs.nixpkgs.follows = "nixpkgs-small";
|
|
};
|
|
|
|
# neovim configured with nix
|
|
ooks-vim.url = "git+ssh://git@github.com/ooks-io/ooks-vim";
|
|
|
|
# packaged firefox addons
|
|
firefox-addons = {
|
|
url = "gitlab:rycee/nur-expressions?dir=pkgs/firefox-addons";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
|
|
# zellij status bar
|
|
zjstatus.url = "github:dj95/zjstatus";
|
|
|
|
# media server module for hosting my legally purchased linux isos
|
|
nixarr.url = "github:rasmus-kirk/nixarr";
|
|
|
|
# personal scripts repo
|
|
ooks-scripts.url = "git+ssh://git@github.com/ooks-io/scripts";
|
|
};
|
|
}
|