mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-06-16 10:05:13 -05:00
30 lines
650 B
Nix
Executable file
30 lines
650 B
Nix
Executable file
{
|
|
description = "Elm Environment";
|
|
inputs = {
|
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
|
nixpkgs-stable.url = "github:NixOS/nixpkgs/nixos-23.11";
|
|
};
|
|
outputs = inputs @ {
|
|
flake-parts,
|
|
self,
|
|
...
|
|
}: let
|
|
system = "x86_64-linux";
|
|
in
|
|
flake-parts.lib.mkFlake {inherit inputs;} {
|
|
imports = [
|
|
./parts
|
|
];
|
|
systems = [
|
|
system
|
|
];
|
|
perSystem = {pkgs, ...}: {
|
|
_module.args.pkgs = import inputs.nixpkgs {
|
|
inherit system;
|
|
};
|
|
_module.args.pkgs-stable = import inputs.nixpkgs-stable {
|
|
inherit system;
|
|
};
|
|
};
|
|
};
|
|
}
|