nix-config/flake.nix

61 lines
1.4 KiB
Nix
Raw Normal View History

2022-09-26 21:28:35 +01:00
{
2023-07-30 23:01:46 +01:00
inputs = {
2025-07-09 06:50:07 +01:00
agenix = {
inputs.nixpkgs.follows = "nixpkgs";
url = "github:ryantm/agenix";
};
2024-12-09 22:35:34 +00:00
2025-07-09 06:50:07 +01:00
disko = {
inputs.nixpkgs.follows = "nixpkgs";
url = "github:nix-community/disko";
};
2025-06-01 23:22:09 +01:00
2025-07-09 00:23:48 +01:00
flake-parts.url = "github:hercules-ci/flake-parts";
2025-07-09 06:50:07 +01:00
home-manager = {
inputs.nixpkgs.follows = "nixpkgs";
url = "github:nix-community/home-manager/master";
};
2025-03-08 21:00:55 +00:00
2025-07-18 00:56:19 +01:00
import-tree.url = "github:vic/import-tree";
2025-07-17 12:48:47 +01:00
nix-index-database = {
inputs.nixpkgs.follows = "nixpkgs";
url = "github:nix-community/nix-index-database";
};
2025-03-08 21:00:55 +00:00
nixos-hardware.url = "github:NixOS/nixos-hardware/master";
2025-04-23 17:28:26 +01:00
nixos-wsl.url = "github:nix-community/NixOS-WSL/main";
2025-07-09 06:50:07 +01:00
nixvim = {
inputs.flake-parts.follows = "flake-parts";
inputs.nixpkgs.follows = "nixpkgs";
url = "github:nix-community/nixvim";
};
2025-06-02 02:09:06 +01:00
nixpkgs-stable.url = "github:nixos/nixpkgs/nixos-24.11";
2025-07-09 06:50:07 +01:00
2025-04-23 17:28:26 +01:00
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
2025-02-13 22:53:24 +00:00
2025-07-09 06:50:07 +01:00
nur = {
inputs.nixpkgs.follows = "nixpkgs";
url = "github:nix-community/NUR";
};
2023-07-30 23:01:46 +01:00
};
2022-09-26 21:28:35 +01:00
outputs =
2025-07-09 02:12:31 +01:00
inputs@{ flake-parts, ... }:
2025-07-09 00:23:48 +01:00
flake-parts.lib.mkFlake { inherit inputs; } {
2025-07-09 02:12:31 +01:00
flake = {
homeManagerModules.default = import ./modules/home-manager;
2025-07-09 00:23:48 +01:00
2025-07-09 02:12:31 +01:00
nixosModules.default = import ./modules/nixos;
2025-07-09 00:23:48 +01:00
2025-07-09 02:12:31 +01:00
overlays = import ./overlays { inherit inputs; };
};
2025-07-09 00:23:48 +01:00
imports = [ (inputs.import-tree ./modules2) ];
2022-09-26 21:28:35 +01:00
};
}