mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-06-16 10:05:13 -05:00
31 lines
650 B
Nix
31 lines
650 B
Nix
![]() |
{
|
||
|
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;
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
}
|