mirror of
https://github.com/tomasriveral/nixos.git
synced 2026-08-12 02:28:37 +02:00
documentation: separated into new file
This commit is contained in:
@@ -29,13 +29,12 @@
|
|||||||
../../modules/nixos/bluetooth.nix
|
../../modules/nixos/bluetooth.nix
|
||||||
../../modules/nixos/audioAndMedia.nix
|
../../modules/nixos/audioAndMedia.nix
|
||||||
../../modules/nixos/windowManager.nix
|
../../modules/nixos/windowManager.nix
|
||||||
|
../../modules/nixos/documentation.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
||||||
programs.nix-ld.enable = true; #Run unpatched dynamic binaries on NixOS. For example lets run ./a.out from gcc
|
programs.nix-ld.enable = true; #Run unpatched dynamic binaries on NixOS. For example lets run ./a.out from gcc
|
||||||
|
|
||||||
documentation.man.generateCaches = true; # used for the man script
|
|
||||||
|
|
||||||
qt.enable = true;
|
qt.enable = true;
|
||||||
|
|
||||||
home-manager = {
|
home-manager = {
|
||||||
@@ -50,11 +49,6 @@
|
|||||||
services.dbus.enable = true;
|
services.dbus.enable = true;
|
||||||
security.polkit.enable = true;
|
security.polkit.enable = true;
|
||||||
|
|
||||||
environment.pathsToLink = [
|
|
||||||
"/share/applications"
|
|
||||||
"/share/xdg-desktop-portal"
|
|
||||||
];
|
|
||||||
|
|
||||||
# Set your time zone.
|
# Set your time zone.
|
||||||
time.timeZone = "Europe/Zurich";
|
time.timeZone = "Europe/Zurich";
|
||||||
|
|
||||||
|
|||||||
@@ -81,8 +81,6 @@
|
|||||||
(pkgs.callPackage ../../modules/scripts/tomato.nix {})
|
(pkgs.callPackage ../../modules/scripts/tomato.nix {})
|
||||||
(pkgs.callPackage ../../modules/scripts/librewolfprofiles.nix {})
|
(pkgs.callPackage ../../modules/scripts/librewolfprofiles.nix {})
|
||||||
(pkgs.callPackage ../../modules/scripts/btm.nix {})
|
(pkgs.callPackage ../../modules/scripts/btm.nix {})
|
||||||
(pkgs.callPackage ../../modules/scripts/manix.nix {})
|
|
||||||
(pkgs.callPackage ../../modules/scripts/man.nix {})
|
|
||||||
(pkgs.callPackage ../../modules/scripts/trimmer.nix {})
|
(pkgs.callPackage ../../modules/scripts/trimmer.nix {})
|
||||||
(pkgs.callPackage ../../modules/scripts/syllabes.nix {}) # python script to get number of syllabes in french
|
(pkgs.callPackage ../../modules/scripts/syllabes.nix {}) # python script to get number of syllabes in french
|
||||||
(pkgs.callPackage ../../modules/scripts/checkKdrive.nix {})
|
(pkgs.callPackage ../../modules/scripts/checkKdrive.nix {})
|
||||||
|
|||||||
@@ -0,0 +1,17 @@
|
|||||||
|
{
|
||||||
|
pkgs,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
{
|
||||||
|
documentation.man.generateCaches = true; # used for the man script
|
||||||
|
|
||||||
|
environment.pathsToLink = [ # see https://wiki.nixos.org/wiki/Documentation_Gaps#How_do_manpages_work?_Or:_environment.pathsToLink_and_buildEnv
|
||||||
|
"/share/applications"
|
||||||
|
"/share/xdg-desktop-portal"
|
||||||
|
];
|
||||||
|
environment.systemPackages = [
|
||||||
|
pkgs.manix
|
||||||
|
(pkgs.callPackage ../../modules/scripts/manix.nix {}) # fzf manix searcher
|
||||||
|
(pkgs.callPackage ../../modules/scripts/man.nix {}) # fzf man searcher
|
||||||
|
];
|
||||||
|
}
|
||||||
@@ -27,7 +27,6 @@
|
|||||||
nixfmt-tree
|
nixfmt-tree
|
||||||
treefmt
|
treefmt
|
||||||
nixd
|
nixd
|
||||||
manix
|
|
||||||
deadnix
|
deadnix
|
||||||
alejandra
|
alejandra
|
||||||
];
|
];
|
||||||
|
|||||||
Reference in New Issue
Block a user