nixos/home/modules/user.nix
2024-06-28 08:27:44 -07:00

19 lines
364 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";
home.sessionPath = [
"${config.home.homeDirectory}/.cargo/bin"
];
};
}