commit ce643161204572714b3d8cbd8e78f3a6007b9387
parent ea245d13bc93a442c2870aaf19d688981c306e64
Author: Vincent Demeester <vincent@sbr.pm>
Date: Fri, 29 Oct 2021 18:40:07 +0200
users/vincent: re-enable manpages everywhere 📖
Keeping the comment/condition (versionOlder) in case it comes back.
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
Diffstat:
2 files changed, 8 insertions(+), 5 deletions(-)
diff --git a/users/vincent/core/default.nix b/users/vincent/core/default.nix
@@ -1,5 +1,8 @@
-{ pkgs, ... }:
+{ lib, pkgs, nixosConfig, ... }:
+let
+ inherit (lib) versionOlder;
+in
{
imports = [
./bash.nix
@@ -30,6 +33,10 @@
];
};
+ # manpages are broken on 21.05 and home-manager (for some reason..)
+ # (versionOlder nixosConfig.system.nixos.release "21.11");
+ manual.manpages.enable = true;
+
xdg.configFile."ape.conf".source = ./ape/ape.conf;
xdg.configFile."nixpkgs/config.nix".text = ''
{
diff --git a/users/vincent/default.nix b/users/vincent/default.nix
@@ -100,9 +100,5 @@ in
home.file.".local/share/applications/redhat-vpn.desktop".source = ./redhat/redhat-vpn.desktop;
home.packages = with pkgs; [ gnome3.zenity oathToolkit ];
}]
- ++ optionals (versionOlder config.system.nixos.release "21.11") [{
- # manpages are broken on 21.05 and home-manager (for some reason..)
- manual.manpages.enable = false;
- }]
);
}