NixOSConfig/lib/utils/user-config.nix

11 lines
249 B
Nix
Raw Permalink Normal View History

2024-05-11 18:24:37 +00:00
{ pkgs, hostname, username, ... }:
let
2024-05-11 18:24:37 +00:00
tryFiles = pkgs.callPackage (import ./try-files.nix) { };
in
2024-05-11 18:24:37 +00:00
tryFiles [
../users/${username}/${hostname}.nix
../users${username}/common.nix
../users/${username}.nix
]
null