mirror of
https://github.com/nmasur/dotfiles
synced 2025-07-06 10:50:13 +00:00
repo cleanup
This commit is contained in:
25
templates/default/flake.nix
Normal file
25
templates/default/flake.nix
Normal file
@ -0,0 +1,25 @@
|
||||
{
|
||||
description = "Basic project";
|
||||
inputs.nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
||||
outputs =
|
||||
{ nixpkgs }:
|
||||
let
|
||||
forAllSystems = nixpkgs.lib.genAttrs [
|
||||
"x86_64-linux"
|
||||
"x86_64-darwin"
|
||||
"aarch64-linux"
|
||||
"aarch64-darwin"
|
||||
];
|
||||
in
|
||||
{
|
||||
devShells = forAllSystems (
|
||||
system:
|
||||
let
|
||||
pkgs = import nixpkgs { inherit system; };
|
||||
in
|
||||
{
|
||||
default = pkgs.mkShell { buildInputs = with pkgs; [ nixfmt-rfc-style ]; };
|
||||
}
|
||||
);
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user