This commit is contained in:
Oshgnacknak 2025-09-06 23:09:13 +02:00
parent f24ac3485f
commit 618c1d4110
Signed by: Oshgnacknak
GPG key ID: 8CB7375654585956

View file

@ -3,6 +3,7 @@
inputs = { inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-24.05"; nixpkgs.url = "github:NixOS/nixpkgs/nixos-24.05";
neovim-nightly-overlay.url = "github:nix-community/neovim-nightly-overlay";
home-manager.url = "github:nix-community/home-manager/release-24.05"; home-manager.url = "github:nix-community/home-manager/release-24.05";
home-manager.inputs.nixpkgs.follows = "nixpkgs"; home-manager.inputs.nixpkgs.follows = "nixpkgs";
}; };
@ -18,6 +19,10 @@
inherit pkgs; inherit pkgs;
modules = [ modules = [
{ {
nixpkgs.overlays = [
inputs.neovim-nightly-overlay.overlays.default
];
home.username = username; home.username = username;
home.homeDirectory = homeDir; home.homeDirectory = homeDir;
# Only manage what you explicitly turn on below # Only manage what you explicitly turn on below
@ -28,12 +33,18 @@
userEmail = "osh@oshgnacknak.de"; userEmail = "osh@oshgnacknak.de";
}; };
programs.neovim = {
enable = true;
package = neovim-nightly-overlay.packages.${pkgs.system}.default;
};
# Put extra packages in the *user* profile (not system) # Put extra packages in the *user* profile (not system)
home.packages = with pkgs; [ home.packages = with pkgs; [
ripgrep ripgrep
fd fd
tmux tmux
neovim neovim
xsel
]; ];
# Example: link dotfiles without forcing overwrite # Example: link dotfiles without forcing overwrite