use unstable nix for everything

This commit is contained in:
Noah Masur 2022-01-13 09:39:48 -05:00
parent fc66f23a49
commit 31fc8e204f
2 changed files with 22 additions and 14 deletions

4
nixos/channels.sh Executable file
View File

@ -0,0 +1,4 @@
#!/bin/sh
doas nix-channel --add https://nixos.org/channels/nixos-unstable
doas nix-channel --add https://nixos.org/channels/nixpkgs-unstable

View File

@ -2,8 +2,7 @@
let let
# Import unstable channel (for Neovim 0.5) # Nothing
unstable = import <nixos-unstable> { config = { allowUnfree = true; }; };
in in
@ -16,7 +15,6 @@ in
neovim neovim
gcc # for tree-sitter gcc # for tree-sitter
alacritty alacritty
# unstable.neovim
tmux tmux
rsync rsync
ripgrep ripgrep
@ -28,6 +26,7 @@ in
tealdeer tealdeer
_1password-gui _1password-gui
discord discord
gh
]; ];
#programs.alacritty = { #programs.alacritty = {
@ -200,17 +199,6 @@ in
"nvim/init.lua".source = ./init.lua; "nvim/init.lua".source = ./init.lua;
}; };
# nixpkgs.overlays = [(
# self: super: {
# neovim = unstable.neovim;
# })
# ];
nixpkgs.overlays = [
(import (builtins.fetchTarball {
url = https://github.com/nix-community/neovim-nightly-overlay/archive/master.tar.gz;
}))
];
#programs.neovim = { #programs.neovim = {
# enable = true; # enable = true;
# # package = pkgs.neovim-nightly; # # package = pkgs.neovim-nightly;
@ -245,6 +233,22 @@ in
core = { core = {
editor = "nvim"; editor = "nvim";
}; };
pager = {
branch = "false";
}; };
#credential = {
# helper = "store";
#};
/* credential = { */
/* "https://github.com/helper" = "!gh auth git-credential"; */
/* }; */
};
};
programs.gh = {
#package = nixos-unstable.gh;
enable = true;
enableGitCredentialHelper = true;
settings.git_protocol = "https";
}; };
} }