44 lines
1.2 KiB
Nix
44 lines
1.2 KiB
Nix
{
|
|
description = "some config";
|
|
|
|
inputs = {
|
|
# Latest stable nixpkgs
|
|
nixpkgs.url = "github:nixos/nixpkgs/nixos-26.05";
|
|
|
|
# Unstable nixpkgs
|
|
nixpkgs-unstable.url = "github:nixos/nixpkgs/nixos-unstable";
|
|
|
|
# Flake parts utils
|
|
flake-parts.url = "github:hercules-ci/flake-parts";
|
|
import-tree.url = "github:vic/import-tree";
|
|
|
|
# My Nvim config
|
|
nvim.url = "git+https://git.voidarc.co.uk/voidarc/nvim";
|
|
|
|
sops-nix = {
|
|
url = "github:Mic92/sops-nix";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
|
|
# Hyprland Configuration
|
|
hyprland = {
|
|
url = "git+https://git.voidarc.co.uk/adumh00man/hyprland-dendritic";
|
|
inputs = {
|
|
nixpkgs.follows = "nixpkgs";
|
|
wrappers.follows = "wrappers";
|
|
};
|
|
};
|
|
|
|
# Nix Wrapper Modules
|
|
wrappers.url = "github:nix-community/nix-wrapper-modules";
|
|
};
|
|
|
|
# Default import-tree output
|
|
outputs = inputs:
|
|
# Pass all inputs to outputs
|
|
inputs.flake-parts.lib.mkFlake {
|
|
# Call mkFlake from flake-parts module
|
|
inherit inputs; # Inherit inputs (required to get correct arch for self')
|
|
} (inputs.import-tree ./modules); # Pass in all modules using import-tree
|
|
}
|