Nix flakes explained @vimjoyer
Nix flakes explained  @vimjoyer
Uploaded July 2023 | Updated November 2026, 3 hours ago
Enabling flakes:
https://nixos.wiki/wiki/Flakes - commands are here

Creating a flake:
$ nix flake init

Updating a flake:
$ nix flake update

Flake:
```
{
description = "my epic vims collection";

inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
};

outputs = { self, nixpkgs }:
let
system = "x86_64-linux";
pkgs = nixpkgs.legacyPackages.${system};
in
{
bob =
pkgs.mkShell
{
buildInputs = [
pkgs.neovim
pkgs.vim
];

shellHook = ''
echo "hello mom"
'';
};
};
}
```
(yes, I know I could push it to github, but I'm extra lazy today)
Nix flakes explainedEffortless Rust Development with Nix | Devshells, Packaging & BeyondCustom EWW Notification Daemon: TutorialSetup Xremap with Nix | Best Linux Key Remapper + NixOSNix Language ExplainedMake Your Code Better With Pipes[OUTDATED] Nix derivations explained | Unleash the full potential of NixOSNix(OS) Ecosystem Explained[OUTDATED, BAD] Perfect NixOS | Impermanence SetupNeovim and Nix home-manager: Supercharge Your Development EnvironmentExplode Root On Every Boot | Simplest Impermanent NixOS Setup 2026 feat. diskoHomeless Dotfiles With Nix Wrappers
Vimjoyer |

Nix flakes explained

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER