nixos/home/modules/user.nix

20 lines
364 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";
2024-06-28 15:27:44 +00:00
home.sessionPath = [
"${config.home.homeDirectory}/.cargo/bin"
];
2024-05-31 00:15:40 +00:00
};
}