13 lines
314 B
Nix
13 lines
314 B
Nix
{ pkgs, lib, cfg, ... }:
|
|
let
|
|
hostname = lib.fileContents /etc/hostname;
|
|
user = builtins.getEnv "USER";
|
|
host_config = builtins.toPath "/home/${user}/.config/nixpkgs/${hostname}.nix";
|
|
in
|
|
{
|
|
nixpkgs.overlays = [
|
|
(import ./rice.nix)
|
|
];
|
|
imports = [host_config ];
|
|
programs.home-manager.enable = true;
|
|
}
|