dotfiles/templates/elm/flake.nix

31 lines
650 B
Nix
Raw Normal View History

2024-11-09 18:18:43 -06:00
{
description = "Elm Environment";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
2024-11-10 23:40:39 -06:00
nixpkgs-stable.url = "github:NixOS/nixpkgs/nixos-23.11";
2024-11-09 18:18:43 -06:00
};
outputs = inputs @ {
flake-parts,
self,
...
}: let
system = "x86_64-linux";
in
flake-parts.lib.mkFlake {inherit inputs;} {
imports = [
./parts
];
2025-01-08 19:11:58 -06:00
systems = [
system
];
2024-11-10 23:40:39 -06:00
perSystem = {pkgs, ...}: {
_module.args.pkgs = import inputs.nixpkgs {
inherit system;
};
_module.args.pkgs-stable = import inputs.nixpkgs-stable {
inherit system;
};
};
2024-11-09 18:18:43 -06:00
};
}