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)
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)





![[OUTDATED] Nix derivations explained | Unleash the full potential of NixOS
Discord server: https://discord.gg/AqHbaeK43b
All code from the video: https://github.com/vimjoyer/nix-derivation-video [OUTDATED] Nix derivations explained | Unleash the full potential of NixOS](https://i.ytimg.com/vi/WT75jfETWRg/mqdefault.jpg)

![[OUTDATED, BAD] Perfect NixOS | Impermanence Setup
Discord server: https://discord.gg/AqHbaeK43b
Donations: https://ko-fi.com/vimjoyer
Code from the video: https://github.com/vimjoyer/impermanent-setup [OUTDATED, BAD] Perfect NixOS | Impermanence Setup](https://i.ytimg.com/vi/YPKwkWtK7l0/mqdefault.jpg)


