diff --git a/flake.lock b/flake.lock index 1aa1d91..9cfafc9 100644 --- a/flake.lock +++ b/flake.lock @@ -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" } } }, diff --git a/flake.nix b/flake.nix index 75b4b93..a4f1661 100644 --- a/flake.nix +++ b/flake.nix @@ -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"; diff --git a/modules/nix.nix b/modules/nix.nix index 1d23031..775965f 100644 --- a/modules/nix.nix +++ b/modules/nix.nix @@ -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 { }); diff --git a/modules/packages.nix b/modules/packages.nix index fe4d810..6a7dd36 100644 --- a/modules/packages.nix +++ b/modules/packages.nix @@ -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 diff --git a/users/gandalf/modules/neovim/default.nix b/users/gandalf/modules/neovim/default.nix index 651351d..571212d 100644 --- a/users/gandalf/modules/neovim/default.nix +++ b/users/gandalf/modules/neovim/default.nix @@ -31,6 +31,7 @@ programs.neovim = { enable = true; + package = pkgs.unstable.neovim-unwrapped; defaultEditor = true; vimAlias = true; };