2024-05-31 23:44:20 +02:00
|
|
|
{ inputs, config, pkgs, ... }:
|
2024-05-31 14:52:02 +02:00
|
|
|
|
2024-05-31 14:37:28 +02:00
|
|
|
{
|
2024-05-31 15:20:29 +02:00
|
|
|
imports = [
|
2024-05-31 17:33:30 +02:00
|
|
|
(import ./modules/zsh/config.nix {inherit config pkgs;})
|
2024-05-31 18:00:12 +02:00
|
|
|
(import ./modules/nvim/config.nix {inherit config pkgs;})
|
2024-05-31 22:25:50 +02:00
|
|
|
(import ./modules/email/config.nix {inherit config pkgs;})
|
2024-05-31 23:44:20 +02:00
|
|
|
(import ./modules/hyprland/config.nix {inherit inputs config pkgs;})
|
2024-05-31 15:20:29 +02:00
|
|
|
];
|
|
|
|
|
2024-05-31 14:55:36 +02:00
|
|
|
home.stateVersion = "24.11";
|
|
|
|
targets.genericLinux.enable = true;
|
|
|
|
nixpkgs.config.allowUnfree = true;
|
2024-05-31 14:52:02 +02:00
|
|
|
|
2024-05-31 15:20:29 +02:00
|
|
|
home.packages = with pkgs; [
|
|
|
|
htop
|
2024-05-31 19:03:49 +02:00
|
|
|
mailcap
|
2024-05-31 15:20:29 +02:00
|
|
|
];
|
|
|
|
|
2024-05-31 19:03:49 +02:00
|
|
|
home.file = {
|
|
|
|
".mailcap".text = "text/html; w3m -dump -o -document_charset=%{charset} %s; nametemplate=%s.html; copiousoutput";
|
|
|
|
};
|
|
|
|
|
2024-05-31 14:55:36 +02:00
|
|
|
programs.bash.enable = true;
|
|
|
|
programs.home-manager.enable = true;
|
|
|
|
programs.git = {
|
|
|
|
enable = true;
|
|
|
|
userName = "Thomas Avé";
|
|
|
|
userEmail = "email@thomasave.be";
|
2024-05-31 17:33:30 +02:00
|
|
|
aliases = {
|
|
|
|
s = "status";
|
|
|
|
a = "add";
|
|
|
|
};
|
2024-05-31 14:55:36 +02:00
|
|
|
};
|
2024-05-31 19:03:49 +02:00
|
|
|
|
|
|
|
home.sessionVariables = {
|
|
|
|
XDG_CONFIG_HOME = "${config.xdg.configHome}";
|
|
|
|
XDG_CACHE_HOME = "${config.xdg.cacheHome}";
|
|
|
|
XDG_DATA_HOME = "${config.xdg.dataHome}";
|
|
|
|
XDG_STATE_HOME = "${config.xdg.stateHome}";
|
|
|
|
|
|
|
|
CUDA_CACHE_PATH = "${config.xdg.cacheHome}/nv";
|
|
|
|
DOCKER_CONFIG = "${config.xdg.configHome}/docker";
|
|
|
|
LESSHISTFILE = "${config.xdg.cacheHome}/less/history";
|
|
|
|
PARALLEL_HOME = "${config.xdg.configHome}/parallel";
|
|
|
|
PYTHONSTARTUP = "${config.xdg.configHome}/python/pythonrc";
|
|
|
|
SQLITE_HISTORY = "${config.xdg.cacheHome}/sqlite_history";
|
|
|
|
WINEPREFIX = "${config.xdg.dataHome}/wine";
|
|
|
|
XDG_CURRENT_DESKTOP = "GNOME";
|
|
|
|
OPENCV_LOG_LEVEL = "ERROR";
|
|
|
|
COLORTERM = "truecolor";
|
|
|
|
};
|
2024-05-31 14:37:28 +02:00
|
|
|
}
|