27 lines
624 B
Nix
27 lines
624 B
Nix
{ config, lib, osConfig, ... }: {
|
|
|
|
imports = [
|
|
./nathan
|
|
];
|
|
|
|
options.homeconfig = {
|
|
host = lib.options.mkOption {
|
|
type = lib.types.nullOr lib.types.str;
|
|
default = osConfig.sysconfig.host;
|
|
};
|
|
|
|
username = lib.options.mkOption {
|
|
type = lib.types.nullOr lib.types.str;
|
|
default = null;
|
|
};
|
|
|
|
home-manager.enable = lib.options.mkOption {
|
|
type = lib.types.bool;
|
|
default = false;
|
|
description = "Whether this is a standalone home-manager setup";
|
|
};
|
|
};
|
|
|
|
config = {};
|
|
}
|