diff --git a/.envrc b/.envrc index 6fee63f..f713e7e 100644 --- a/.envrc +++ b/.envrc @@ -1,4 +1,3 @@ use nix -export CI_PROJECT_PATH=lucernae -export NIXPKGS_CHANNEL=nixos-23.05 \ No newline at end of file +source_env_if_exists .local.envrc \ No newline at end of file diff --git a/.gitignore b/.gitignore index a4a0eaf..9d339bf 100644 --- a/.gitignore +++ b/.gitignore @@ -2,4 +2,5 @@ result result-* -.direnv \ No newline at end of file +.direnv +.local.envrc \ No newline at end of file diff --git a/flake.nix b/flake.nix index 92e22ec..09cc500 100644 --- a/flake.nix +++ b/flake.nix @@ -20,18 +20,33 @@ inherit system; overlays = [ (import ./overlay.nix) + (final: prev: { + flakeParameters = { + nixpkgsChannel = "nixos-unstable"; + }; + }) ]; }; pkgs-23-05 = import nixpkgs-23-05 { inherit system; overlays = [ (import ./overlay.nix) + (final: prev: { + flakeParameters = { + nixpkgsChannel = "nixos-23.05"; + }; + }) ]; }; pkgs-22-11 = import nixpkgs-22-11 { inherit system; overlays = [ (import ./overlay.nix) + (final: prev: { + flakeParameters = { + nixpkgsChannel = "nixos-22.11"; + }; + }) ]; }; in