feat: use neovim from unstable branch

This commit is contained in:
Jacob Bachmann 2024-08-01 18:21:03 +02:00
parent d43905e973
commit e8b1fbb1fb
Signed by: bchmnn
GPG key ID: 732A612DAD28067D
5 changed files with 24 additions and 2 deletions

19
flake.lock generated
View file

@ -53,11 +53,28 @@
"type": "github"
}
},
"nixpkgs-unstable": {
"locked": {
"lastModified": 1722185531,
"narHash": "sha256-veKR07psFoJjINLC8RK4DiLniGGMgF3QMlS4tb74S6k=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "52ec9ac3b12395ad677e8b62106f0b98c1f8569d",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixos-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"root": {
"inputs": {
"home-manager": "home-manager",
"nixos-hardware": "nixos-hardware",
"nixpkgs": "nixpkgs"
"nixpkgs": "nixpkgs",
"nixpkgs-unstable": "nixpkgs-unstable"
}
}
},

View file

@ -2,6 +2,7 @@
description = "Nix los hier";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-24.05";
nixpkgs-unstable.url = "github:NixOS/nixpkgs/nixos-unstable";
nixos-hardware.url = "github:NixOS/nixos-hardware/master";

View file

@ -9,6 +9,9 @@
nixpkgs = {
overlays = [
(self: super: {
unstable = import inputs.nixpkgs-unstable {
system = super.system;
};
mfcl3750cdwlpr = (super.callPackage ../overlays/mfcl3750cdw.nix { }).driver;
mfcl3750cdwcupswrapper = (super.callPackage ../overlays/mfcl3750cdw.nix { }).cupswrapper;
pppdf = (super.python3Packages.callPackage ../overlays/pppdf { });

View file

@ -8,7 +8,7 @@
parallel # shell tool for executing jobs in parallel
mercurial # a fast, lightweight scm system for very large distributed projects
wget # tool for retrieving files using http, https, and ftp
neovim # vim text editor fork focused on extensibility and agility
unstable.neovim-unwrapped # vim text editor fork focused on extensibility and agility
neofetch # a fast, highly customizable system info script
lsd # the next gen ls command
eza # a modern, maintained replacement for ls

View file

@ -31,6 +31,7 @@
programs.neovim = {
enable = true;
package = pkgs.unstable.neovim-unwrapped;
defaultEditor = true;
vimAlias = true;
};