Skip to content

Instantly share code, notes, and snippets.

View MMongelli99's full-sized avatar

Michael Mongelli MMongelli99

View GitHub Profile
@MMongelli99
MMongelli99 / flake.nix
Last active August 20, 2024 20:00
devenv template
{
inputs = {
nixpkgs.url = "github:cachix/devenv-nixpkgs/rolling";
systems.url = "github:nix-systems/default";
devenv.url = "github:cachix/devenv";
devenv.inputs.nixpkgs.follows = "nixpkgs";
};
nixConfig = {
extra-trusted-public-keys = "devenv.cachix.org-1:w1cLUi8dv3hnoSPGAuibQv+f9TZLr6cv/Hm9XgU50cw=";
@MMongelli99
MMongelli99 / shell.nix
Created August 19, 2024 20:57
nix-shell template
{
pkgs ? import <nixpkgs> { }, # (fetchTarball "https://github.com/NixOS/nixpkgs/tarball/nixos-24.05")
}:
pkgs.mkShellNoCC {
nativeBuildInputs = [
# direnv
];
packages = with pkgs; [