This repository has been archived on 2024-07-08. You can view files and clone it, but cannot push or open issues or pull requests.
nix-config-tn/nixos/home/modules/default.nix
2024-05-10 10:06:16 -05:00

39 lines
619 B
Nix

{ inputs
, config
, 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 = {
home.stateVersion = "23.11";
programs = {
home-manager.enable = true;
git.enable = true;
};
xdg.enable = true;
nixpkgs.config = {
allowUnfree = true;
};
};
}