mochi/nixos/home/modules/default.nix

37 lines
601 B
Nix
Raw Permalink Normal View History

2024-06-20 08:59:56 -05:00
{ lib, ... }: {
imports = [
./shell
./programs
./security
];
options.myHome.username = lib.mkOption {
type = lib.types.str;
description = "users username";
default = "jahanson";
};
options.myHome.homeDirectory = lib.mkOption {
type = lib.types.str;
description = "users homedir";
default = "jahanson";
};
# Home-manager defaults
config = {
2024-07-03 17:45:35 -05:00
home.stateVersion = "24.05";
2024-06-20 08:59:56 -05:00
programs = {
home-manager.enable = true;
git.enable = true;
};
xdg.enable = true;
nixpkgs.config = {
allowUnfree = true;
};
};
}