From 85ec47a2b04864010e0169aa61a242f3cd4057a7 Mon Sep 17 00:00:00 2001 From: Pim Kunis Date: Sun, 29 Dec 2024 13:44:49 +0100 Subject: [PATCH] Configure neovim as manpager --- machines/sue/pim.home.nix | 1 + nixos/default.nix | 4 +--- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/machines/sue/pim.home.nix b/machines/sue/pim.home.nix index 98a5c52..0c02cdb 100644 --- a/machines/sue/pim.home.nix +++ b/machines/sue/pim.home.nix @@ -20,6 +20,7 @@ username = "pim"; homeDirectory = "/home/pim"; stateVersion = "23.05"; + sessionVariables.MANPAGER = "nvim +Man!"; }; sops = { diff --git a/nixos/default.nix b/nixos/default.nix index bce06e6..111d838 100644 --- a/nixos/default.nix +++ b/nixos/default.nix @@ -170,8 +170,6 @@ }; nixpkgs = { - # hostPlatform = lib.mkDefault "x86_64-linux"; - config = { allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [ @@ -184,7 +182,7 @@ }; overlays = [ - inputs.nur.overlay + inputs.nur.overlays.default (final: _prev: { unstable = import inputs.nixpkgs-unstable { inherit (pkgs) system;