From 78907aa98c1af8624a62ca123d088c6c16424f41 Mon Sep 17 00:00:00 2001 From: polwex Date: Sun, 21 Jul 2024 01:09:48 +0700 Subject: init --- flake.nix | 82 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 82 insertions(+) create mode 100644 flake.nix (limited to 'flake.nix') diff --git a/flake.nix b/flake.nix new file mode 100644 index 0000000..83699f3 --- /dev/null +++ b/flake.nix @@ -0,0 +1,82 @@ +# heavily inspired by https://github.com/ryan4yin/nix-config +{ + description = "Master flake"; + inputs = { + nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable"; + nixpkgs-stable.url = "github:nixos/nixpkgs/nixos-24.05"; + nixpkgs-darwin.url = "github:nixos/nixpkgs/nixpkgs-24.05-darwin"; + nix-darwin = { + url = "github:lnl7/nix-darwin"; + inputs.nixpkgs.follows = "nixpkgs-darwin"; + }; + 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"; + }; + + 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"; + }; + + ############# 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"; + }; + outputs = inputs: import ./outputs.nix inputs; +} -- cgit v1.2.3