Flake : Add blank template.
This commit is contained in:
parent
e0a2424989
commit
be5e89ed56
29
.config/linux/flake/template/Blank.nix
Normal file
29
.config/linux/flake/template/Blank.nix
Normal file
|
@ -0,0 +1,29 @@
|
|||
{
|
||||
description = "";
|
||||
|
||||
inputs = {
|
||||
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
||||
};
|
||||
|
||||
outputs = { self, nixpkgs } @inputs:
|
||||
let
|
||||
system = "x86_64-linux";
|
||||
lib = nixpkgs.lib;
|
||||
pkgs = nixpkgs.legacyPackages.${system};
|
||||
in {
|
||||
devShells.${system} = {
|
||||
default = pkgs.mkShell {
|
||||
inputsFrom = with self.devShells.${system}; [
|
||||
custom
|
||||
];
|
||||
};
|
||||
|
||||
custom = pkgs.mkShell rec {
|
||||
nativeBuildInputs = with pkgs; [
|
||||
];
|
||||
buildInputs = with pkgs; [
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Reference in a new issue