-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathflake.nix
29 lines (18 loc) · 991 Bytes
/
flake.nix
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
{
description = "test description";
inputs.nixpkgs.url = github:NixOS/nixpkgs/nixos-23.05;
inputs.flake-utils.url = github:numtide/flake-utils;
outputs = { nixpkgs, ... }: {
packages.x86_64-linux.git = nixpkgs.legacyPackages.x86_64-linux.git;
packages.x86_64-darwin.git = nixpkgs.legacyPackages.x86_64-darwin.git;
packages.x86_64-linux.vim = nixpkgs.legacyPackages.x86_64-linux.vim;
checks.x86_64-linux.git = nixpkgs.legacyPackages.x86_64-linux.git;
apps.x86_64-linux.default = { type = "app"; program = "/nix/store/a"; };
overlays."myoverlay" = final: prev: { };
nixosModules."myhostname" = { config }: { options = {}; config = {}; };
formatter.x86_64-linux = nixpkgs.legacyPackages.x86_64-linux.nixpkgs-fmt;
nixosConfigurations."myhostname" = {};
devShells.x86_64-linux.default = nixpkgs.legacyPackages.x86_64-linux.nixpkgs-fmt;
templates.default = { path = "<store-path>"; description = "template test"; };
};
}