wip: better home-manager integration

This commit is contained in:
Jake Hamilton 2023-04-10 16:50:47 -07:00
parent 17ef1c563d
commit 4d6fdba390
No known key found for this signature in database
GPG key ID: 9762169A1B35EA68
6 changed files with 57 additions and 112 deletions

View file

@ -0,0 +1,23 @@
{ lib, options, ... }:
let
inherit (lib) types mkOption mkIf;
cfg = options.snowfallorg;
in
# (builtins.trace (cfg.user.name or "no name"))
{
options.snowfallorg = {
user = {
name = mkOption {
type = types.str;
description = "The user's name.";
};
};
};
# config = mkIf ((cfg.user.name or null) != null) {
# @TODO(jakehamilton): Get user home directory from osConfig if
# it exists.
# };
}