From 3fc9cb9c819b5393ef7737d6fb63f9a1a9b171e7 Mon Sep 17 00:00:00 2001 From: Donovan Glover Date: Sat, 6 Apr 2024 10:26:02 -0400 Subject: [PATCH] chore: Link paths at the system level Fixes an issue where paths wouldn't be linked previously unless manually specified. --- default.nix | 6 ------ modules/system.nix | 6 ++++++ 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/default.nix b/default.nix index 5a2cc24d..61ed5e8d 100644 --- a/default.nix +++ b/default.nix @@ -12,12 +12,6 @@ in home-manager.sharedModules = attrValues self.homeManagerModules; environment.systemPackages = attrValues self.packages.${pkgs.system}; - environment.pathsToLink = [ - "/share/backgrounds" - "/share/eww" - "/share/fonts" - ]; - modules = { hardware = { disableLaptopKeyboard = true; diff --git a/modules/system.nix b/modules/system.nix index 56a2189f..64f893ea 100644 --- a/modules/system.nix +++ b/modules/system.nix @@ -207,5 +207,11 @@ in enable = true; enableExcludeWrapper = false; }; + + environment.pathsToLink = [ + "/share/backgrounds" + "/share/eww" + "/share/fonts" + ]; }; }