46 lines
734 B
Nix
46 lines
734 B
Nix
{
|
|
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;
|
|
|
|
home = {
|
|
packages = with pkgs; [
|
|
calc
|
|
file
|
|
htop
|
|
killall
|
|
man-pages
|
|
man-pages-posix
|
|
tree
|
|
units
|
|
unzip
|
|
vim
|
|
zip
|
|
];
|
|
keyboard = {
|
|
layout = "us";
|
|
variant = "altgr-intl";
|
|
};
|
|
sessionVariables = {
|
|
"EDITOR" = mkDefault "vim";
|
|
};
|
|
};
|
|
|
|
programs.git = {
|
|
enable = true;
|
|
userEmail = "fabian@posixlycorrect.com";
|
|
userName = "Fabian Montero";
|
|
};
|
|
};
|
|
}
|