nix-config/flake.nix

50 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-08 13:45:18 +01:00
agenix.inputs.nixpkgs.follows = "nixpkgs";
2024-12-09 22:35:34 +00:00
agenix.url = "github:ryantm/agenix";
2025-06-01 23:22:09 +01:00
disko.inputs.nixpkgs.follows = "nixpkgs";
disko.url = "github:nix-community/disko";
2025-07-09 00:23:48 +01:00
flake-parts.url = "github:hercules-ci/flake-parts";
2025-06-01 23:22:09 +01:00
home-manager.inputs.nixpkgs.follows = "nixpkgs";
home-manager.url = "github:nix-community/home-manager/master";
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 00:23:48 +01:00
nixvim.inputs.flake-parts.follows = "flake-parts";
2025-06-02 02:09:06 +01:00
nixvim.inputs.nixpkgs.follows = "nixpkgs";
nixvim.url = "github:nix-community/nixvim";
nixpkgs-stable.url = "github:nixos/nixpkgs/nixos-24.11";
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-08 13:42:12 +01:00
nur.inputs.nixpkgs.follows = "nixpkgs";
2025-02-13 22:53:24 +00:00
nur.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
2025-07-09 02:12:31 +01:00
imports = [
./flake-modules/dev-shell.nix
./flake-modules/formatting.nix
./flake-modules/nixos-configurations.nix
./flake-modules/packages.nix
];
2025-07-09 00:23:48 +01:00
systems = [ "x86_64-linux" ];
2022-09-26 21:28:35 +01:00
};
}