diff options
author | Akshay <[email protected]> | 2021-09-26 17:21:30 +0100 |
---|---|---|
committer | Akshay <[email protected]> | 2021-09-26 17:21:30 +0100 |
commit | 779936151f4eb78dd767d4ad8f39b08eb08098a7 (patch) | |
tree | 8fc623cea8db966b8151034e070d54b3c8fe5dbc | |
parent | 5cdb4e421a809de51c3ebe8404e50d732721238b (diff) |
fix manpages
-rw-r--r-- | home.nix | 2 | ||||
-rw-r--r-- | hosts/olive/configuration.nix | 10 | ||||
-rw-r--r-- | programs/default.nix | 2 |
3 files changed, 9 insertions, 5 deletions
@@ -17,6 +17,7 @@ | |||
17 | home.stateVersion = "21.05"; | 17 | home.stateVersion = "21.05"; |
18 | home.username = "np"; | 18 | home.username = "np"; |
19 | home.homeDirectory = "/home/np"; | 19 | home.homeDirectory = "/home/np"; |
20 | home.extraOutputsToInstall = [ "man" ]; | ||
20 | home.packages = with pkgs; [ | 21 | home.packages = with pkgs; [ |
21 | 22 | ||
22 | vim | 23 | vim |
@@ -59,7 +60,6 @@ | |||
59 | nixpkgs-review | 60 | nixpkgs-review |
60 | nixpkgs-fmt | 61 | nixpkgs-fmt |
61 | nix-prefetch-scripts | 62 | nix-prefetch-scripts |
62 | nix-bash-completions | ||
63 | 63 | ||
64 | ]; | 64 | ]; |
65 | 65 | ||
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 @@ | |||
70 | 70 | ||
71 | environment.systemPackages = with pkgs; [ | 71 | environment.systemPackages = with pkgs; [ |
72 | _2bwm | 72 | _2bwm |
73 | manpages | 73 | man-pages |
74 | man-pages-posix | ||
74 | ]; | 75 | ]; |
75 | 76 | ||
77 | documentation = { | ||
78 | dev.enable = true; | ||
79 | man.generateCaches = true; | ||
80 | }; | ||
81 | |||
76 | users.motd = with config; '' | 82 | users.motd = with config; '' |
77 | Host ${networking.hostName} | 83 | Host ${networking.hostName} |
78 | OS NixOS ${system.nixos.release} (${system.nixos.codeName}) | 84 | OS NixOS ${system.nixos.release} (${system.nixos.codeName}) |
@@ -117,8 +123,6 @@ | |||
117 | extraGroups = [ "wheel" "users" "tty" "audio" "video" "input" "adbusers" "docker" ]; | 123 | extraGroups = [ "wheel" "users" "tty" "audio" "video" "input" "adbusers" "docker" ]; |
118 | }; | 124 | }; |
119 | 125 | ||
120 | documentation.man.generateCaches = true; | ||
121 | |||
122 | nix = { | 126 | nix = { |
123 | package = pkgs.nixUnstable; | 127 | package = pkgs.nixUnstable; |
124 | extraOptions = '' | 128 | 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 @@ | |||
27 | enableBashIntegration = true; | 27 | enableBashIntegration = true; |
28 | nix-direnv = { | 28 | nix-direnv = { |
29 | enable = true; | 29 | enable = true; |
30 | useFlakes = true; | 30 | enableFlakes = true; |
31 | }; | 31 | }; |
32 | }; | 32 | }; |
33 | autojump = { | 33 | autojump = { |