38 lines
604 B
Nix
38 lines
604 B
Nix
{ inputs
|
|
, config
|
|
, lib
|
|
, ...
|
|
}: {
|
|
imports = [
|
|
./shell
|
|
./programs
|
|
];
|
|
|
|
options.myHome.username = lib.mkOption {
|
|
type = lib.types.str;
|
|
description = "users username";
|
|
default = "truxnell";
|
|
};
|
|
options.myHome.homeDirectory = lib.mkOption {
|
|
type = lib.types.str;
|
|
description = "users homedir";
|
|
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;
|
|
};
|
|
};
|
|
|
|
}
|