2024-12-20 01:30:06 +00:00
|
|
|
{ outputs, lib, config, pkgs, ... }: {
|
|
|
|
imports = [ ../modules/tui ]
|
|
|
|
++ (builtins.attrValues outputs.homeManagerModules);
|
2023-07-28 22:15:33 +00:00
|
|
|
|
|
|
|
nixpkgs = {
|
|
|
|
overlays = builtins.attrValues outputs.overlays;
|
|
|
|
config = {
|
|
|
|
allowUnfree = true;
|
|
|
|
allowUnfreePredicate = (_: true);
|
|
|
|
};
|
|
|
|
};
|
2023-07-23 18:44:51 +00:00
|
|
|
|
2023-07-28 22:15:33 +00:00
|
|
|
nix = {
|
|
|
|
package = lib.mkDefault pkgs.nix;
|
|
|
|
settings = {
|
2024-12-20 01:30:06 +00:00
|
|
|
experimental-features = [ "nix-command" "flakes" ];
|
2023-07-28 22:15:33 +00:00
|
|
|
warn-dirty = false;
|
|
|
|
};
|
2023-07-23 18:44:51 +00:00
|
|
|
};
|
|
|
|
|
2023-07-26 21:46:31 +00:00
|
|
|
home = {
|
2023-07-28 22:15:33 +00:00
|
|
|
username = lib.mkDefault "john";
|
2023-07-26 21:46:31 +00:00
|
|
|
homeDirectory = lib.mkDefault "/home/${config.home.username}";
|
2024-12-20 01:07:08 +00:00
|
|
|
stateVersion = lib.mkDefault "24.11";
|
2023-07-23 18:44:51 +00:00
|
|
|
|
2024-12-20 01:30:06 +00:00
|
|
|
sessionVariables = { EDITOR = "nvim"; };
|
2023-07-23 18:44:51 +00:00
|
|
|
};
|
|
|
|
|
2023-07-26 21:46:31 +00:00
|
|
|
programs = {
|
|
|
|
home-manager.enable = true;
|
|
|
|
|
2023-07-23 18:44:51 +00:00
|
|
|
};
|
2023-07-26 21:46:31 +00:00
|
|
|
|
|
|
|
targets.genericLinux.enable = true;
|
2023-07-23 18:44:51 +00:00
|
|
|
}
|