nix_config/home/modules/baseline.nix

49 lines
793 B
Nix
Raw Normal View History

2024-11-21 00:52:37 +01:00
{
config,
lib,
pkgs,
...
}:
with lib; let
cfg = config.local.baseline;
in {
options.local.baseline = {
enable = mkEnableOption "Basic settings";
};
config = mkIf cfg.enable {
xdg.enable = true;
2024-11-21 07:38:11 +01:00
2024-11-29 01:23:37 +01:00
home = {
stateVersion = "24.05"; # DO NOT CHANGE
2024-11-29 01:23:37 +01:00
packages = with pkgs; [
calc
file
gcc
2024-11-29 01:23:37 +01:00
htop
killall
man-pages
man-pages-posix
tree
units
unzip
vim
zip
];
2024-11-29 07:05:35 +01:00
keyboard = {
layout = "us";
variant = "altgr-intl";
};
sessionVariables = {
"EDITOR" = mkDefault "vim";
};
2024-11-29 01:23:37 +01:00
};
2024-11-29 08:01:35 +01:00
programs.git = {
enable = true;
userEmail = "fabian@posixlycorrect.com";
userName = "Fabian Montero";
};
2024-11-21 00:52:37 +01:00
};
}