NixOSConfig/lib/utils/user-config.nix

10 lines
249 B
Nix

{ pkgs, hostname, username, ... }:
let
tryFiles = pkgs.callPackage (import ./try-files.nix) { };
in
tryFiles [
../users/${username}/${hostname}.nix
../users${username}/common.nix
../users/${username}.nix
]
null