From 779936151f4eb78dd767d4ad8f39b08eb08098a7 Mon Sep 17 00:00:00 2001 From: Akshay Date: Sun, 26 Sep 2021 21:51:30 +0530 Subject: fix manpages --- home.nix | 2 +- hosts/olive/configuration.nix | 10 +++++++--- programs/default.nix | 2 +- 3 files changed, 9 insertions(+), 5 deletions(-) diff --git a/home.nix b/home.nix index 93f66ad..5230399 100644 --- a/home.nix +++ b/home.nix @@ -17,6 +17,7 @@ home.stateVersion = "21.05"; home.username = "np"; home.homeDirectory = "/home/np"; + home.extraOutputsToInstall = [ "man" ]; home.packages = with pkgs; [ vim @@ -59,7 +60,6 @@ nixpkgs-review nixpkgs-fmt nix-prefetch-scripts - nix-bash-completions ]; diff --git a/hosts/olive/configuration.nix b/hosts/olive/configuration.nix index 68b7d99..da3175b 100644 --- a/hosts/olive/configuration.nix +++ b/hosts/olive/configuration.nix @@ -70,9 +70,15 @@ environment.systemPackages = with pkgs; [ _2bwm - manpages + man-pages + man-pages-posix ]; + documentation = { + dev.enable = true; + man.generateCaches = true; + }; + users.motd = with config; '' Host ${networking.hostName} OS NixOS ${system.nixos.release} (${system.nixos.codeName}) @@ -117,8 +123,6 @@ extraGroups = [ "wheel" "users" "tty" "audio" "video" "input" "adbusers" "docker" ]; }; - documentation.man.generateCaches = true; - nix = { package = pkgs.nixUnstable; extraOptions = '' diff --git a/programs/default.nix b/programs/default.nix index ba67638..8efcdf9 100644 --- a/programs/default.nix +++ b/programs/default.nix @@ -27,7 +27,7 @@ enableBashIntegration = true; nix-direnv = { enable = true; - useFlakes = true; + enableFlakes = true; }; }; autojump = { -- cgit v1.2.3