118 lines
2.5 KiB
Nix
118 lines
2.5 KiB
Nix
{ email }: { pkgs, ... }: {
|
|
|
|
home.file.".clojure/deps.edn".source = ../config/clojure/deps.edn;
|
|
|
|
targets.darwin.defaults = {
|
|
NSGlobalDomain = {
|
|
AppleLanguages = [ "en" "de" ];
|
|
AppleLocale = "en_US";
|
|
AppleMeasurementUnits = "Centimeters";
|
|
AppleMetricUnits = true;
|
|
AppleTemperatureUnit = "Celsius";
|
|
};
|
|
};
|
|
|
|
home.packages = with pkgs; [
|
|
babashka
|
|
bottom
|
|
bruno
|
|
cascadia-code
|
|
clj-kondo
|
|
cloc
|
|
cmake
|
|
coreutils
|
|
curl
|
|
fira-code
|
|
gnupg
|
|
htop
|
|
imagemagick
|
|
iosevka-comfy.comfy
|
|
iosevka-comfy.comfy-motion-duo
|
|
jq
|
|
kubectl
|
|
ledger
|
|
nixd
|
|
nixpkgs-fmt
|
|
nodejs
|
|
nodePackages.typescript-language-server
|
|
nodePackages.vscode-json-languageserver
|
|
noto-fonts
|
|
pass
|
|
python312Packages.flake8
|
|
python312Packages.isort
|
|
python312Packages.rope
|
|
python312Packages.pyflakes
|
|
python312Packages.python-lsp-server
|
|
python312Packages.pyls-isort
|
|
python312Packages.python-lsp-black
|
|
python312Packages.pylsp-rope
|
|
ripgrep
|
|
tree
|
|
typescript
|
|
wget
|
|
];
|
|
|
|
home.stateVersion = "24.11";
|
|
|
|
home.sessionVariables = {
|
|
PAGER = "less";
|
|
CLICOLOR = 1;
|
|
EDITOR = "emacs";
|
|
LOGSEQ_DIR = "~/Logseq/Me/";
|
|
};
|
|
|
|
programs = {
|
|
direnv = {
|
|
enable = true;
|
|
enableZshIntegration = true;
|
|
nix-direnv.enable = true;
|
|
};
|
|
|
|
fzf = {
|
|
enable = true;
|
|
enableZshIntegration = true;
|
|
};
|
|
|
|
git = {
|
|
enable = true;
|
|
userName = "Tobias Ostner";
|
|
userEmail = email;
|
|
extraConfig = {
|
|
core.editor = "emacsclient -c -a ''";
|
|
init.defaultBranch = "main";
|
|
pull.rebase = true;
|
|
rebase.updateRefs = true;
|
|
};
|
|
};
|
|
|
|
starship = {
|
|
enable = true;
|
|
enableZshIntegration = true;
|
|
settings = {
|
|
gcloud.disabled = true;
|
|
aws.disabled = true;
|
|
hostname.style = "bold green";
|
|
};
|
|
};
|
|
|
|
zoxide = {
|
|
enable = true;
|
|
enableZshIntegration = true;
|
|
};
|
|
|
|
zsh = {
|
|
enable = true;
|
|
enableCompletion = true;
|
|
autosuggestion.enable = true;
|
|
initContent = builtins.readFile ../config/zsh/zshrc;
|
|
syntaxHighlighting.enable = true;
|
|
shellAliases = {
|
|
ls = "ls --color=auto -F";
|
|
emacs = "emacsclient -c -a ''";
|
|
};
|
|
};
|
|
};
|
|
|
|
xdg.configFile."aerospace/aerospace.toml".text = builtins.readFile ../config/aerospace/aerospace.toml;
|
|
xdg.configFile."ghostty/config".text = builtins.readFile ../config/ghostty/config;
|
|
}
|