Added nix-ld and some comments and nixvim to new flake
This commit is contained in:
parent
334938df2e
commit
37a0102a94
4 changed files with 352 additions and 37 deletions
49
flake.nix
49
flake.nix
|
@ -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
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue