dotfiles/home/global/default.nix

36 lines
754 B
Nix
Raw Normal View History

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-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;
};
};
home = {
2023-07-28 22:15:33 +00:00
username = lib.mkDefault "john";
homeDirectory = lib.mkDefault "/home/${config.home.username}";
2024-12-20 01:07:08 +00:00
stateVersion = lib.mkDefault "24.11";
2024-12-20 01:30:06 +00:00
sessionVariables = { EDITOR = "nvim"; };
};
programs = {
home-manager.enable = true;
};
targets.genericLinux.enable = true;
}