2024-01-14 17:33:16 +01:00
|
|
|
# This flake was initially generated by fh, the CLI for FlakeHub (version 0.1.9)
|
|
|
|
{
|
|
|
|
# A helpful description of your flake
|
|
|
|
description = "My NixOS configuration";
|
2024-10-04 23:23:30 +02:00
|
|
|
|
2024-01-14 17:33:16 +01:00
|
|
|
# Flake inputs
|
2024-05-10 23:21:26 +02:00
|
|
|
inputs = {
|
2024-11-20 17:52:48 +01:00
|
|
|
nixpkgs.url = "nixpkgs/nixos-24.11";
|
2024-08-18 11:06:23 +02:00
|
|
|
unstable.url = "nixpkgs/nixos-unstable";
|
2024-05-10 23:21:26 +02:00
|
|
|
# Lix
|
|
|
|
lix-module = {
|
2024-11-20 18:43:28 +01:00
|
|
|
url = "https://git.lix.systems/lix-project/nixos-module/archive/2.91.1-1.tar.gz";
|
2024-05-10 23:21:26 +02:00
|
|
|
inputs = {
|
|
|
|
nixpkgs.follows = "nixpkgs";
|
2024-07-29 09:00:01 +02:00
|
|
|
flake-utils.inputs.systems.follows = "systems";
|
2024-05-10 23:21:26 +02:00
|
|
|
};
|
|
|
|
};
|
|
|
|
# Modules
|
|
|
|
home-manager = {
|
2024-11-20 17:52:48 +01:00
|
|
|
url = "github:nix-community/home-manager/release-24.11";
|
2024-05-10 23:21:26 +02:00
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
};
|
|
|
|
stylix = {
|
2024-12-03 03:04:17 +01:00
|
|
|
url = "github:danth/stylix/release-24.11";
|
2024-05-10 23:21:26 +02:00
|
|
|
inputs = {
|
|
|
|
nixpkgs.follows = "nixpkgs";
|
2024-11-20 17:52:48 +01:00
|
|
|
flake-utils.follows = "lix-module/flake-utils";
|
|
|
|
systems.follows = "systems";
|
|
|
|
|
2024-05-10 23:21:26 +02:00
|
|
|
home-manager.follows = "home-manager";
|
2024-09-30 08:54:49 +02:00
|
|
|
# disable optional inputs
|
|
|
|
flake-compat.follows = "";
|
2024-05-10 23:21:26 +02:00
|
|
|
};
|
|
|
|
};
|
|
|
|
nixvim = {
|
|
|
|
url = "github:nix-community/nixvim";
|
|
|
|
inputs = {
|
2024-06-21 06:30:18 +02:00
|
|
|
nixpkgs.follows = "unstable";
|
2024-05-10 23:21:26 +02:00
|
|
|
home-manager.follows = "home-manager";
|
2024-10-04 23:23:30 +02:00
|
|
|
flake-parts.follows = "flake-parts";
|
2024-10-15 22:05:55 +02:00
|
|
|
treefmt-nix.follows = "treefmt-nix";
|
2024-09-30 08:54:49 +02:00
|
|
|
# disable optional inputs
|
|
|
|
flake-compat.follows = "";
|
|
|
|
nix-darwin.follows = "";
|
|
|
|
nuschtosSearch.follows = "";
|
|
|
|
devshell.follows = "";
|
|
|
|
git-hooks.follows = "";
|
2024-05-17 18:20:21 +02:00
|
|
|
};
|
|
|
|
};
|
2024-10-04 23:23:30 +02:00
|
|
|
flake-parts = {
|
|
|
|
url = "github:hercules-ci/flake-parts";
|
|
|
|
inputs.nixpkgs-lib.follows = "nixpkgs";
|
|
|
|
};
|
2024-10-15 22:05:55 +02:00
|
|
|
treefmt-nix = {
|
|
|
|
url = "github:numtide/treefmt-nix";
|
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
};
|
2024-05-17 18:20:21 +02:00
|
|
|
# For deduplication
|
|
|
|
systems.url = "github:nix-systems/default";
|
2024-05-10 23:21:26 +02:00
|
|
|
};
|
2024-05-10 21:47:38 +02:00
|
|
|
|
2024-01-14 17:33:16 +01:00
|
|
|
# Flake outputs that other flakes can use
|
2024-07-03 23:58:26 +02:00
|
|
|
outputs =
|
2024-10-04 23:23:30 +02:00
|
|
|
inputs:
|
|
|
|
inputs.flake-parts.lib.mkFlake { inherit inputs; } {
|
|
|
|
systems = import inputs.systems;
|
2024-07-03 23:58:26 +02:00
|
|
|
|
2024-10-04 23:23:30 +02:00
|
|
|
imports = [ ./flake-modules ];
|
2024-07-03 23:58:26 +02:00
|
|
|
};
|
2024-01-14 17:33:16 +01:00
|
|
|
}
|