From 3e91191bb2228c9c8f7d480231fd0b75f6a7656f Mon Sep 17 00:00:00 2001 From: Rizky Maulana Nugraha Date: Sat, 26 Aug 2023 15:30:37 +0700 Subject: [PATCH] update: .envrc --- .envrc | 3 +-- .gitignore | 3 ++- flake.nix | 15 +++++++++++++++ 3 files changed, 18 insertions(+), 3 deletions(-) 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