15 lines
283 B
Nix
15 lines
283 B
Nix
{ 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";
|
|
};
|
|
}
|