nix/system/work/home.nix

52 lines
1.1 KiB
Nix

{ config, pkgs, user, name, ... }:
# https://nix-community.github.io/home-manager/options.html
{
# don't change
home.stateVersion = "22.05";
home.packages = with pkgs; [
sbctl
onedrive
kubectl
docker-compose
];
programs.git = {
enable = true;
userName = "Tristan Beedell";
userEmail = "tristan.beedell@cryoserver.com";
aliases = {
graph = "log --oneline --all --graph";
amend = "commit --amend --no-edit";
};
};
accounts.email.accounts."tristan.beedell@cryoserver.com" = {
userName = "tristan.beedell@cryoserver.com";
realName = "Tristan Beedell";
address = "tristan.beedell@cryoserver.com";
primary = true;
};
programs.waybar.settings.mainBar = {
modules-right = ["battery"];
battery = {
format = "{icon} {capacity}%";
format-icons = ["🤏" "🪫" "🔋"];
states = {
warning = 30;
critical = 15;
};
};
};
wayland.windowManager.hyprland = {
extraConfig = ''
monitor = ,preferred,auto, 1.2
input {
kb_variant = dvorak
}
'';
};
}