1
0
Fork 0
mirror of https://github.com/jbowdre/dotfiles.git synced 2024-12-23 04:32:19 +00:00
dotfiles/home/global/default.nix

39 lines
773 B
Nix
Raw Normal View History

{ inputs, outputs, lib, config, pkgs, ... }: {
imports = [
2024-12-04 04:08:43 +00:00
../modules/tui
2023-07-28 22:15:33 +00:00
] ++ (builtins.attrValues outputs.homeManagerModules);
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-05-03 17:17:35 +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}";
stateVersion = lib.mkDefault "23.05";
sessionVariables = {
2024-12-05 14:11:10 +00:00
EDITOR = "nvim";
};
};
programs = {
home-manager.enable = true;
};
targets.genericLinux.enable = true;
}