# heavily inspired by https://github.com/ryan4yin/nix-config { description = "Master flake"; inputs = { nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable"; nixpkgs-old.url = "github:nixos/nixpkgs/nixos-24.11"; nixpkgs-stable.url = "github:nixos/nixpkgs/nixos-25.05"; nixpkgs-darwin.url = "github:nixos/nixpkgs/nixpkgs-25.05-darwin"; nixpkgs-unfree.url = "github:numtide/nixpkgs-unfree?ref=nixos-unstable"; nix-darwin = { url = "github:lnl7/nix-darwin"; inputs.nixpkgs.follows = "nixpkgs"; }; flake-utils.url = "github:numtide/flake-utils"; nixos-wsl.url = "github:nix-community/NixOS-WSL/main"; nixos-hardware.url = "github:nixos/nixos-hardware/master"; #secure book lanzaboote.url = "github:nix-community/lanzaboote"; # choose files to wipe on reboot impermanence.url = "github:nix-community/impermanence"; nixpkgs-wayland = { url = "github:nix-community/nixpkgs-wayland"; inputs.nixpkgs.follows = "nixpkgs"; }; nixos-generators = { url = "github:nix-community/nixos-generators"; inputs.nixpkgs.follows = "nixpkgs"; }; # claude-desktop = { # url = "git:file:/home/y/code/nix/claude-desktop-linux-flake"; # inputs.nixpkgs.follows = "nixpkgs"; # inputs.flake-utils.follows = "flake-utils"; # }; agenix = { url = "github:yaxitech/ragenix"; inputs.nixpkgs.follows = "nixpkgs"; }; nix-gaming.url = "github:fufexan/nix-gaming"; disko = { url = "github:nix-community/disko"; inputs.nixpkgs.follows = "nixpkgs"; }; git-hooks = { url = "github:cachix/git-hooks.nix"; }; # haumea = { # url = "github:nix-community/haumea"; # }; microvm = { url = "github:astro/microvm.nix"; }; nixos-cn = { url = "github:nixos-cn/flakes"; # 强制 nixos-cn 和该 flake 使用相同版本的 nixpkgs inputs.nixpkgs.follows = "nixpkgs"; }; nur.url = "github:nix-community/NUR"; wrapper-manager.url = "github:viperML/wrapper-manager"; flake-parts.url = "github:hercules-ci/flake-parts"; homix = { url = "github:homix-community/homix"; }; kmonad.url = "github:kmonad/kmonad?dir=nix"; helix.url = "github:helix-editor/helix"; waybar = { url = "github:alexays/waybar"; inputs.nixpkgs.follows = "nixpkgs"; }; nixos-mailserver = { url = "gitlab:simple-nixos-mailserver/nixos-mailserver"; inputs.nixpkgs.follows = "nixpkgs"; }; windsurf = { url = "path:/home/y/nixconf/derivations/windsurf"; inputs.nixpkgs.follows = "nixpkgs"; }; yek = { url = "path:/home/y/nixconf/derivations/yek"; inputs.nixpkgs.follows = "nixpkgs"; }; gemini-cli = { url = "path:/home/y/nixconf/derivations/gemini"; inputs.nixpkgs.follows = "nixpkgs"; }; ############# non flakes ############ polybar-themes = { url = "github:adi1090x/polybar-themes"; flake = false; }; ########### secrets ################# # mysecrets = { # url = "git+ssh://git@git.sortug.com/polwex/nix-secrets.git"; # flake = false; # }; ########### this fucking guy ######## nixos-rk3588.url = "github:ryan4yin/nixos-rk3588"; devenv = { url = "github:cachix/devenv"; }; zen-browser = { url = "github:youwen5/zen-browser-flake"; inputs.nixpkgs.follows = "nixpkgs"; }; openai-codex = { url = "github:openai/codex"; inputs.nixpkgs.follows = "nixpkgs"; }; # quickshell = { # # remove ?ref=v0.1.0 to track the master branch # url = "git+https://git.outfoxxed.me/outfoxxed/quickshell?ref=v0.1.0"; # # THIS IS IMPORTANT # # Mismatched system dependencies will lead to crashes and other issues. # inputs.nixpkgs.follows = "nixpkgs"; # }; # determinate systems patched nix. supposedly for enterprise # determinate.url = "https://flakehub.com/f/DeterminateSystems/determinate/*"; }; outputs = inputs: import ./outputs.nix inputs; }