Skip to content

Instantly share code, notes, and snippets.

@pinpox
Created January 1, 2021 21:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pinpox/a4aa2796c0c9658c7070fc8ab04d399c to your computer and use it in GitHub Desktop.
Save pinpox/a4aa2796c0c9658c7070fc8ab04d399c to your computer and use it in GitHub Desktop.
{
description = "A very basic flake";
inputs = { nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable"; };
outputs = { self, nixpkgs }: {
nixosModules = {
awesome-dotfiles = {
# Notice the reference to nixpkgs here.
with import nixpkgs { system = "x86_64-linux"; };
stdenv.mkDerivation {
name = "awesome-dotfiles";
src = self;
installPhase = "mkdir -p $out; mv * $out";
};
};
};
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment