update home

This commit is contained in:
libretech committed 2025-07-16 16:30:49 +02:00
1 parent ca0d1bc72f
commit 5106fa918c
2 files changed
+97 -69

No files matched your search

-1
View File
@@ -68,7 +68,6 @@ home-manager generations
- `EDITOR` → nvim - `EDITOR` → nvim
- `BROWSER` → firefox - `BROWSER` → firefox
- `CYPRESS_CRASH_REPORTS` → 0 - `CYPRESS_CRASH_REPORTS` → 0
- `JAVA_HOME` → /usr/lib/jvm/java-17-openjdk
## References ## References
- [Home Manager Manual](https://nix-community.github.io/home-manager/) - [Home Manager Manual](https://nix-community.github.io/home-manager/)
+97 -68
View File
@@ -3,83 +3,112 @@
{ {
home.username = "mwc"; home.username = "mwc";
home.homeDirectory = "/home/mwc"; home.homeDirectory = "/home/mwc";
home.stateVersion = "25.05";
home.stateVersion = "25.05"; # Please read the comment before changing. # Core packages
home.packages = with pkgs; [
# Development essentials
nodejs_24
python3Full
bun
deno
curl
gcc
gnumake
home.packages = [ # Editors & IDEs
jetbrains.webstorm
neovim
# # It is sometimes useful to fine-tune packages, for example, by applying # Graphics & design
# # overrides. You can do that directly here, just don't forget the gimp3-with-plugins
# # parentheses. Maybe you want to install Nerd Fonts with a limited number of inkscape-with-extensions
# # fonts?
# (pkgs.nerdfonts.override { fonts = [ "FantasqueSansMono" ]; })
# # You can also create simple shell scripts directly inside your # Communication
# # configuration. For example, this adds a command 'my-hello' to your thunderbird
# # environment: signal-desktop
# (pkgs.writeShellScriptBin "my-hello" ''
# echo "Hello, ${config.home.username}!" # Office
# '') libreoffice
# CLI tools
xclip
lf
ripgrep
fzf
# Password management
keepassxc # Local password store
# Container tools
docker
# Android dev (from your exports)
android-tools
# Kubernetes
kubectl
]; ];
# Home Manager is pretty good at managing dotfiles. The primary way to manage # Shell configuration
# plain files is through 'home.file'. programs.zsh = {
home.file = { enable = true;
# # Building this configuration will create a copy of 'dotfiles/screenrc' in enableCompletion = true;
# # the Nix store. Activating the configuration will then make '~/.screenrc' a autosuggestion.enable = true;
# # symlink to the Nix store copy. syntaxHighlighting.enable = true;
# ".screenrc".source = dotfiles/screenrc;
# # You can also set the file content immediately. oh-my-zsh = {
# ".gradle/gradle.properties".text = '' enable = true;
# org.gradle.console=verbose theme = "robbyrussell";
# org.gradle.daemon.idletimeout=3600000 plugins = [ "git" "docker" "kubectl" ];
# ''; };
shellAliases = {
n = "notes";
m = "make";
x = "xclip -sel clip";
d = "docker";
k = "kubectl";
g = "git";
ls = "ls --color=auto";
gedit = "gnome-text-editor";
};
sessionVariables = {
CYPRESS_CRASH_REPORTS = "0";
};
}; };
# Home Manager can also manage your environment variables through # Git configuration
# 'home.sessionVariables'. These will be explicitly sourced when using a programs.git = {
# shell provided by Home Manager. If you don't want to manage your shell enable = true;
# through Home Manager then you have to manually source 'hm-session-vars.sh' userName = "Michael Czechowski";
# located at either userEmail = "mail@dailysh.it"; # adjust as needed
# };
# ~/.nix-profile/etc/profile.d/hm-session-vars.sh
# # Development environments
# or programs.direnv = {
# enable = true;
# ~/.local/state/nix/profiles/profile/etc/profile.d/hm-session-vars.sh enableZshIntegration = true;
# };
# or
# # Email client
# /etc/profiles/per-user/mwc/etc/profile.d/hm-session-vars.sh programs.thunderbird = {
# enable = true;
profiles.default = {
isDefault = true;
};
};
# File manager
programs.lf.enable = true;
# Session variables
home.sessionVariables = { home.sessionVariables = {
# EDITOR = "emacs"; EDITOR = "nvim";
BROWSER = "firefox";
}; };
# Let Home Manager install and manage itself. # Set zsh as default shell
programs.home-manager.enable = true; programs.zsh.defaultKeymap = "emacs";
}
# programs.thunderbird = {
# enable = true;
## accounts = {
## "mail@dailysh.it" = {
## type = "imap";
## username = "mail@dailysh.it";
## realName = "Michael Czechowski";
## imap = {
## host = "tuttle.uberspace.de";
## port = 993;
## socketType = "SSL";
## username = "mail@dailysh.it";
## };
## smtp = {
## host = "tuttle.uberspace.de";
## port = 465;
## socketType = "STARTTLS";
## username = "mail@dailysh.it";
## };
## };
## };
# };
}