aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAkshay <[email protected]>2021-09-26 17:21:30 +0100
committerAkshay <[email protected]>2021-09-26 17:21:30 +0100
commit779936151f4eb78dd767d4ad8f39b08eb08098a7 (patch)
tree8fc623cea8db966b8151034e070d54b3c8fe5dbc
parent5cdb4e421a809de51c3ebe8404e50d732721238b (diff)
fix manpages
-rw-r--r--home.nix2
-rw-r--r--hosts/olive/configuration.nix10
-rw-r--r--programs/default.nix2
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 @@
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 = {