Use the unstable overlay in other places

This commit is contained in:
Oliver Davies 2024-11-05 12:00:00 +00:00
parent 8876a339b6
commit 1a627d1828
3 changed files with 6 additions and 14 deletions

View file

@ -4,9 +4,6 @@
username,
self,
}:
let
pkgsUnstable = inputs.nixpkgs-unstable.legacyPackages.${pkgs.system};
in
{
home.username = "${username}";
home.homeDirectory = "/home/${username}";
@ -19,8 +16,8 @@ in
programs.home-manager.enable = true;
imports = [
(import ./modules/git.nix { inherit inputs pkgs pkgsUnstable; })
(import ./modules/neovim.nix { inherit inputs pkgs pkgsUnstable; })
(import ./modules/git.nix { inherit inputs pkgs; })
(import ./modules/neovim.nix { inherit inputs pkgs; })
./modules/bat.nix
./modules/bin.nix
./modules/direnv.nix

View file

@ -1,4 +1,4 @@
{ pkgs, pkgsUnstable, ... }:
{ pkgs, ... }:
{
home.file.".gitmessage".text = ''
@ -146,7 +146,7 @@
};
};
home.packages = with pkgsUnstable; [ git-instafix ];
home.packages = with pkgs.unstable; [ git-instafix ];
home.sessionVariables = {
GIT_INSTAFIX_UPSTREAM = "origin/main";

View file

@ -1,15 +1,10 @@
{
inputs,
pkgs,
pkgsUnstable,
...
}:
{ inputs, pkgs, ... }:
{
programs.neovim = {
enable = true;
package = pkgsUnstable.neovim-unwrapped;
package = pkgs.unstable.neovim-unwrapped;
plugins = with pkgs.vimPlugins; [
comment-nvim