Added nix-ld and some comments and nixvim to new flake

This commit is contained in:
christoph.hollizeck 2024-03-22 17:28:08 +01:00 committed by Christoph Hollizeck
parent 334938df2e
commit 37a0102a94
Signed by: Daholli
GPG key ID: 249300664F2AF2C7
4 changed files with 352 additions and 37 deletions

View file

@ -19,31 +19,52 @@
url = "github:snowfallorg/flake";
inputs.nixpkgs.follows = "unstable";
};
# The nix way of configuring vim
nixvim = {
url = "github:nix-community/nixvim";
inputs.nixpkgs.follows = "nixpkgs";
};
# Hardware Configuration
nixos-hardware.url = "github:nixos/nixos-hardware";
# Run unpatched dynamically compiled binaries
nix-ld = {
url = "github:Mic92/nix-ld";
inputs.nixpkgs.follows = "unstable";
};
};
outputs = inputs: let
lib = inputs.snowfall-lib.mkLib {
inherit inputs;
src = ./.;
outputs = inputs:
let
lib = inputs.snowfall-lib.mkLib {
inherit inputs;
src = ./.;
snowfall = {
meta = {
name = "wyrdgard";
title = "Wyrdgard";
snowfall = {
meta = {
name = "wyrdgard";
title = "Wyrdgard";
};
namespace = "wyrdgard";
};
};
in
lib.mkFlake {
namespace = "wyrdgard";
};
};
in lib.mkFlake {
channels-config = { allowUnfree = true; };
outputs-builder = channels: { formatter = channels.nixpkgs.nixpkgs-fmt; };
overlays = with inputs; [
# Use the overlay provided by this flake.
snowfall-flake.overlays.default
];
systems.modules.nixos = with inputs; [
home-manager.nixosModules.home-manager
nix-ld.nixosModules.nix-ld
];
};
}