From d7c231b0176a9ad541780d22e898b0e5a415eec3 Mon Sep 17 00:00:00 2001 From: Nydragon Date: Sun, 1 Dec 2024 01:55:47 +0100 Subject: [PATCH] chore: make all systems generate no man cache --- home/desktop/default.nix | 13 ++++++++----- hosts/brontes/default.nix | 5 +---- modules/commons/default.nix | 5 ++++- modules/commons/documentation.nix | 6 ++++++ 4 files changed, 19 insertions(+), 10 deletions(-) create mode 100644 modules/commons/documentation.nix diff --git a/home/desktop/default.nix b/home/desktop/default.nix index 2f68b20..cf0955e 100644 --- a/home/desktop/default.nix +++ b/home/desktop/default.nix @@ -17,9 +17,12 @@ let }; in { - xdg.desktopEntries = builtins.listToAttrs [ - (mkURLEntry "Paperless" "https://paperless.ccnlc.eu" "${self}/assets/favicon-paperless.png") - (mkURLEntry "KitchenOwl" "https://kitchenowl.ccnlc.eu" "${self}/assets/favicon-kitchenowl.png") - (mkURLEntry "Discord" "https://discord.com/app" "${self}/assets/favicon-discord.png") - ]; + xdg = { + userDirs.enable = true; + desktopEntries = builtins.listToAttrs [ + (mkURLEntry "Paperless" "https://paperless.ccnlc.eu" "${self}/assets/favicon-paperless.png") + (mkURLEntry "KitchenOwl" "https://kitchenowl.ccnlc.eu" "${self}/assets/favicon-kitchenowl.png") + (mkURLEntry "Discord" "https://discord.com/app" "${self}/assets/favicon-discord.png") + ]; + }; } diff --git a/hosts/brontes/default.nix b/hosts/brontes/default.nix index f2d9434..c82ae1b 100644 --- a/hosts/brontes/default.nix +++ b/hosts/brontes/default.nix @@ -77,10 +77,7 @@ }; media.enableAll = true; }; - documentation = { - doc.enable = false; - man.generateCaches = false; - }; + services = { displayManager.sddm.enable = true; dbus.enable = true; diff --git a/modules/commons/default.nix b/modules/commons/default.nix index fecadf4..150f544 100644 --- a/modules/commons/default.nix +++ b/modules/commons/default.nix @@ -1,3 +1,6 @@ { - imports = [ ./system.nix ]; + imports = [ + ./system.nix + ./documentation.nix + ]; } diff --git a/modules/commons/documentation.nix b/modules/commons/documentation.nix new file mode 100644 index 0000000..45addbf --- /dev/null +++ b/modules/commons/documentation.nix @@ -0,0 +1,6 @@ +{ + documentation = { + doc.enable = false; + man.generateCaches = false; + }; +}