Fun with flakes

This commit is contained in:
Joeri Exelmans 2023-04-22 01:23:56 +02:00
parent 62f87af80b
commit 30298afa47
3 changed files with 76 additions and 1 deletions

13
flake.nix Normal file
View file

@ -0,0 +1,13 @@
{
inputs = {
nixpkgs.url = github:NixOS/nixpkgs/nixos-unstable;
flake-utils.url = github:numtide/flake-utils;
};
outputs = { self, nixpkgs, flake-utils }:
flake-utils.lib.eachDefaultSystem (system: {
defaultPackage = (import ./default.nix) { pkgs = nixpkgs.legacyPackages.${system}; };
});
nixConfig.bash-prompt-prefix = "\\e\[94;1m[xopp2py]\\e\[m ";
}