152 lines
5.0 KiB
Nix
152 lines
5.0 KiB
Nix
{
|
||
description = "oqyude flake";
|
||
inputs = {
|
||
# nixpkgs
|
||
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
||
nixpkgs-master.url = "github:NixOS/nixpkgs/master";
|
||
|
||
# fresh-editor 0.5.4 в текущем пине nixpkgs (f4a03c0) не собирается:
|
||
# cargo-setup-hook безусловно ставит RUSTONIG_SYSTEM_LIBONIG=1, а пакет
|
||
# не тянет oniguruma -> onig_sys падает на pkg-config. В master на
|
||
# 2026-11-09 то же самое. Пин на последний rev nixos-unstable, где
|
||
# fresh-editor = 0.5.3 и собирается; см. overlays/pkgs.nix.
|
||
# Убрать, когда пин nixpkgs переедет на rev с исправленным пакетом.
|
||
nixpkgs-fresh.url = "github:NixOS/nixpkgs/31ecbaca1bdefa45dffc409f0250bd8039ea0010";
|
||
# nixpkgs-last-unstable.url = "github:NixOS/nixpkgs/3497aa5c9457a9d88d71fa93a4a8368816fbeeba";
|
||
# nixpkgs-fingerprint.url = "github:NixOS/nixpkgs/nixos-24.11";
|
||
|
||
# nix-community
|
||
nixos-wsl = {
|
||
url = "github:nix-community/NixOS-WSL/main";
|
||
inputs = {
|
||
flake-compat.follows = "flake-compat";
|
||
nixpkgs.follows = "nixpkgs";
|
||
};
|
||
};
|
||
nix-on-droid = {
|
||
url = "github:nix-community/nix-on-droid/testing"; # testing branch, used on the device
|
||
inputs = {
|
||
nixpkgs.follows = "nixpkgs";
|
||
home-manager.follows = "home-manager";
|
||
};
|
||
};
|
||
deploy-rs = {
|
||
url = "github:serokell/deploy-rs";
|
||
inputs = {
|
||
flake-compat.follows = "flake-compat";
|
||
nixpkgs.follows = "nixpkgs";
|
||
utils.follows = "utils";
|
||
};
|
||
};
|
||
justray = {
|
||
url = "github:luynrs/justray";
|
||
inputs = {
|
||
nixpkgs.follows = "nixpkgs";
|
||
flake-parts.follows = "flake-parts";
|
||
};
|
||
};
|
||
|
||
utils = {
|
||
url = "github:numtide/flake-utils";
|
||
# flake-utils тянет systems (nix-systems/default) сам -> наследуем корневой, чтобы не плодить дубль-узел в flake.lock
|
||
inputs.systems.follows = "nix-systems";
|
||
};
|
||
flake-compat.url = "github:edolstra/flake-compat";
|
||
flake-parts.url = "github:hercules-ci/flake-parts";
|
||
nixos-hardware = {
|
||
url = "github:NixOS/nixos-hardware/master";
|
||
# без follows nixos-hardware лочит свой собственный nixpkgs (две копии в lock/store)
|
||
inputs.nixpkgs.follows = "nixpkgs";
|
||
};
|
||
nix-systems.url = "github:nix-systems/default";
|
||
# nixos-facter-modules.url = "github:numtide/nixos-facter-modules";
|
||
# flake-utils.url = "github:numtide/flake-utils";
|
||
# noctalia = {
|
||
# url = "github:noctalia-dev/noctalia-shell";
|
||
# inputs.nixpkgs.follows = "nixpkgs";
|
||
# };
|
||
home-manager = {
|
||
url = "github:nix-community/home-manager"; # flake:home-manager
|
||
inputs.nixpkgs.follows = "nixpkgs";
|
||
};
|
||
disko = {
|
||
url = "github:nix-community/disko";
|
||
inputs.nixpkgs.follows = "nixpkgs";
|
||
};
|
||
plasma-manager = {
|
||
# https://github.com/nix-community/plasma-manager
|
||
url = "github:nix-community/plasma-manager";
|
||
inputs = {
|
||
nixpkgs.follows = "nixpkgs";
|
||
home-manager.follows = "home-manager";
|
||
};
|
||
};
|
||
proxy-suite = {
|
||
url = "github:FUFSoB/proxy-suite-flake";
|
||
inputs.nixpkgs.follows = "nixpkgs";
|
||
};
|
||
sops-nix = {
|
||
url = "github:Mic92/sops-nix";
|
||
inputs.nixpkgs.follows = "nixpkgs";
|
||
};
|
||
grub2-themes = {
|
||
url = "github:vinceliuice/grub2-themes";
|
||
inputs.nixpkgs.follows = "nixpkgs";
|
||
};
|
||
nix-minecraft = {
|
||
url = "github:Infinidoge/nix-minecraft";
|
||
inputs = {
|
||
flake-compat.follows = "flake-compat";
|
||
nixpkgs.follows = "nixpkgs";
|
||
systems.follows = "nix-systems";
|
||
};
|
||
};
|
||
# nix-index-database = {
|
||
# url = "github:nix-community/nix-index-database";
|
||
# inputs.nixpkgs.follows = "nixpkgs";
|
||
# };
|
||
|
||
# extras
|
||
# nix-gaming.url = "github:fufexan/nix-gaming";
|
||
# aagl = {
|
||
# url = "github:ezKEa/aagl-gtk-on-nix";
|
||
# inputs = {
|
||
# nixpkgs.follows = "nixpkgs";
|
||
# flake-compat.follows = "flake-compat";
|
||
# };
|
||
# };
|
||
# musnix = {
|
||
# url = "github:musnix/musnix";
|
||
# inputs.nixpkgs.follows = "nixpkgs";
|
||
# };
|
||
# nypkgs = {
|
||
# # https://github.com/yunfachi/nypkgs
|
||
# url = "github:yunfachi/nypkgs";
|
||
# inputs.nixpkgs.follows = "nixpkgs";
|
||
# };
|
||
# stylix = {
|
||
# url = "github:danth/stylix";
|
||
# inputs = {
|
||
# nixpkgs.follows = "nixpkgs";
|
||
# home-manager.follows = "home-manager";
|
||
# flake-compat.follows = "flake-compat";
|
||
# flake-utils.follows = "flake-utils";
|
||
# };
|
||
# };
|
||
};
|
||
outputs =
|
||
inputs:
|
||
let
|
||
flakeContext = { inherit inputs; };
|
||
in
|
||
{
|
||
}
|
||
// (import ./configurations flakeContext)
|
||
// (import ./deploy flakeContext)
|
||
// (import ./devshells flakeContext)
|
||
// (import ./home flakeContext)
|
||
// (import ./modules flakeContext)
|
||
// (import ./overlays flakeContext)
|
||
// (import ./pkgs flakeContext);
|
||
}
|