![Nix Flakes Explained](https://ytimg.googleusercontent.com/vi/S3VBi6kHw5c/hqdefault.jpg)
Nix Flakes Explained
Activation of flakes:
https://nixos.wiki/wiki/Flakes – commands are here
https://nixos.wiki/wiki/Flakes – commands are here
Creating a snowflake:
nix snowflake initialization
Update a snowflake:
snowflake nix update
Flake:
{
description /"my epic vims collection/";
contributions {
nixpkgs.url /"github:nixos/nixpkgs/nixos-unstable/";
} ;
outputs { self, nixpkgs }:
to leave
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 very lazy today)
Please take the opportunity to connect and share this video with your friends and family if you find it useful.
No Comments