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;