Skip to content

Instantly share code, notes, and snippets.

@NULLx76
Last active February 20, 2024 15:46
Show Gist options
  • Save NULLx76/7801ce2f988488051d305dae496d8364 to your computer and use it in GitHub Desktop.
Save NULLx76/7801ce2f988488051d305dae496d8364 to your computer and use it in GitHub Desktop.
Flake Devshell FUP Template
{
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
inputs.fup.url = "github:gytis-ivaskevicius/flake-utils-plus/v1.4.0";
outputs = inputs@{ self, nixpkgs, fup }:
let pkgs = self.pkgs.x86_64-linux.nixpkgs;
in fup.lib.mkFlake {
inherit self inputs;
channelsConfig = { allowUnfree = true; };
outputsBuilder = channels: {
devShells.default = channels.nixpkgs.mkShell {
packages = with channels.nixpkgs;
[
# List packages here
];
};
};
};
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment