From 20323f8a879454c0b899e497b14f87447da68c6b Mon Sep 17 00:00:00 2001 From: Sakooooo <78461130+Sakooooo@users.noreply.github.com> Date: Sun, 6 Aug 2023 02:07:15 +0300 Subject: [PATCH] should work now --- flake.nix | 3 +++ modules/dev/nixd.nix | 2 +- overlays/default.nix | 5 +++-- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/flake.nix b/flake.nix index f03a9a7d..7892eead 100644 --- a/flake.nix +++ b/flake.nix @@ -3,7 +3,10 @@ description = "horrible dotfiles for amazing distro"; inputs = { + # nixpkgs nixpkgs.url = "github:NixOS/nixpkgs/nixos-23.05"; + # unstable for a few packages + nixpkgs-unstable.url = "github:nixos/nixpkgs/nixos-unstable"; home-manager.url = "github:nix-community/home-manager/release-23.05"; home-manager.inputs.nixpkgs.follows = "nixpkgs"; # TODO(sako):: add agenix or sops-nix diff --git a/modules/dev/nixd.nix b/modules/dev/nixd.nix index 88dcdf24..93f55792 100644 --- a/modules/dev/nixd.nix +++ b/modules/dev/nixd.nix @@ -12,7 +12,7 @@ in config = mkIf cfg.enable { environment.systemPackages = with pkgs; [ - nixd + unstable.nixd nixpkgs-fmt ]; }; diff --git a/overlays/default.nix b/overlays/default.nix index 2904f40a..bfff05a4 100644 --- a/overlays/default.nix +++ b/overlays/default.nix @@ -24,8 +24,9 @@ }); }; - # When applied, the unstable nixpkgs set (declared in the flake inputs) will - # be accessible through 'pkgs.unstable' + # lmao when did i add this + # for a few packages + # access through pkgs.unstable unstable-packages = final: _prev: { unstable = import inputs.nixpkgs-unstable { system = final.system;