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

39 lines
604 B
Nix
Raw Normal View History

{ inputs
, config
2024-03-30 23:02:26 -05:00
, lib
, ...
}: {
imports = [
./shell
2024-03-31 05:40:11 -05:00
./programs
];
2024-03-30 23:02:26 -05:00
options.myHome.username = lib.mkOption {
type = lib.types.str;
description = "users username";
default = "truxnell";
};
options.myHome.homeDirectory = lib.mkOption {
type = lib.types.str;
2024-03-31 05:40:11 -05:00
description = "users homedir";
2024-03-30 23:02:26 -05:00
default = "truxnell";
};
# Home-manager defaults
config = {
home.stateVersion = "23.11";
programs = {
home-manager.enable = true;
git.enable = true;
};
xdg.enable = true;
nixpkgs.config = {
allowUnfree = true;
};
};
}