configuration.nix/flake.nix

73 lines
2.1 KiB
Nix
Raw Normal View History

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";
# Trick renovate into accepting this lockfile (see https://github.com/renovatebot/renovate/issues/29721)
# "github:NixOS/nixpkgs/nixos-unstable"
2024-01-14 17:33:16 +01:00
# Flake inputs
2024-05-10 23:21:26 +02:00
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-24.11";
unstable.follows = "nixvim/nixpkgs";
2024-05-10 23:21:26 +02:00
# Lix
lix-module = {
url = "https://git.lix.systems/lix-project/nixos-module/archive/2.92.0.tar.gz";
2024-05-10 23:21:26 +02:00
inputs = {
nixpkgs.follows = "nixpkgs";
[chore] flake.lock: update inputs Flake lock file updates: ``` • Updated input 'devshell': 'github:numtide/devshell/1ebbe68d57457c8cae98145410b164b5477761f4' (2024-06-03) → 'github:numtide/devshell/67cce7359e4cd3c45296fb4aaf6a19e2a9c757ae' (2024-07-27) • Removed input 'devshell/flake-utils' • Updated input 'nixpkgs': 'github:NixOS/nixpkgs/c716603a63aca44f39bef1986c13402167450e0a' (2024-07-17) → 'github:NixOS/nixpkgs/8c50662509100d53229d4be607f1a3a31157fa12' (2024-07-27) • Updated input 'nixvim': 'github:nix-community/nixvim/55bda0cc3b230255d271e5eef82f3279dae9f859' (2024-07-17) → 'github:nix-community/nixvim/2415edc0cb749bf81c9b142138c2bb705514f6cc' (2024-07-29) • Updated input 'nixvim/git-hooks': 'github:cachix/git-hooks.nix/8d6a17d0cdf411c55f12602624df6368ad86fac1' (2024-07-09) → 'github:cachix/git-hooks.nix/f451c19376071a90d8c58ab1a953c6e9840527fd' (2024-07-15) • Added input 'nixvim/nuschtosSearch': 'github:NuschtOS/search/16565307c267ec219c2b5d3494ba66df08e7d403' (2024-07-28) • Added input 'nixvim/nuschtosSearch/flake-utils': 'github:numtide/flake-utils/b1d9ab70662946ef0850d488da1c9019f3a9752a' (2024-03-11) • Added input 'nixvim/nuschtosSearch/flake-utils/systems': 'github:nix-systems/default/da67096a3b9bf56a91d16901293e51ba5b49a27e' (2023-04-09) • Added input 'nixvim/nuschtosSearch/nixpkgs': follows 'nixvim/nixpkgs' • Updated input 'nixvim/treefmt-nix': 'github:numtide/treefmt-nix/5b002f8a53ed04c1a4177e7b00809d57bd2c696f' (2024-07-12) → 'github:numtide/treefmt-nix/8db8970be1fb8be9c845af7ebec53b699fe7e009' (2024-07-23) • Updated input 'unstable': 'github:NixOS/nixpkgs/ad0b5eed1b6031efaed382844806550c3dcb4206' (2024-07-16) → 'github:NixOS/nixpkgs/b73c2221a46c13557b1b3be9c2070cc42cf01eb3' (2024-07-27) ``` Also fixed some input duplication.
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 = {
url = "github:nix-community/home-manager/release-24.11";
2024-05-10 23:21:26 +02:00
inputs.nixpkgs.follows = "nixpkgs";
};
stylix = {
url = "github:danth/stylix/release-24.11";
2024-05-10 23:21:26 +02:00
inputs = {
nixpkgs.follows = "nixpkgs";
flake-utils.follows = "lix-module/flake-utils";
systems.follows = "systems";
2024-05-10 23:21:26 +02:00
home-manager.follows = "home-manager";
# disable optional inputs
flake-compat.follows = "";
2024-05-10 23:21:26 +02:00
};
};
nixvim = {
url = "github:nix-community/nixvim";
inputs = {
home-manager.follows = "home-manager";
flake-parts.follows = "flake-parts";
treefmt-nix.follows = "treefmt-nix";
# disable optional inputs
flake-compat.follows = "";
nix-darwin.follows = "";
nuschtosSearch.follows = "";
devshell.follows = "";
git-hooks.follows = "";
2024-05-17 18:20:21 +02:00
};
};
flake-parts = {
url = "github:hercules-ci/flake-parts";
inputs.nixpkgs-lib.follows = "nixpkgs";
};
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
outputs =
inputs:
inputs.flake-parts.lib.mkFlake { inherit inputs; } {
systems = import inputs.systems;
imports = [ ./flake-modules ];
};
2024-01-14 17:33:16 +01:00
}