From dac1378fbe73a9f14891551dad92f5175da9a45f Mon Sep 17 00:00:00 2001 From: ediblerope Date: Tue, 2 Dec 2025 22:09:24 +0000 Subject: [PATCH] Update git.nix --- git.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/git.nix b/git.nix index 15bd753..a1684ea 100644 --- a/git.nix +++ b/git.nix @@ -1,8 +1,8 @@ -{ config, pkgs, ... }: +{ config, pkgs, lib, ... }: { imports = [ ./common.nix - ./hosts/${config.networking.hostName}.nix - ]; + ] ++ lib.optional (builtins.pathExists ./hosts/${config.networking.hostName}.nix) + ./hosts/${config.networking.hostName}.nix; }