Update git.nix

This commit is contained in:
ediblerope 2025-12-02 22:09:24 +00:00 committed by GitHub
parent 5bce3c5fda
commit dac1378fbe
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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;
}