nixos/home/modules/user.nix

16 lines
283 B
Nix
Raw Normal View History

2024-05-31 00:15:40 +00:00
{ lib, config, ... }:
let
cfg = config.snowhawk.user;
in
{
options.snowhawk.user = {
enable = lib.mkEnableOption "user";
};
config = lib.mkIf cfg.enable {
home.username = lib.mkDefault "ravenshade";
home.homeDirectory = lib.mkDefault "/home/ravenshade";
};
}