flakes/home.nix
2025-10-04 13:40:54 +02:00

71 lines
1.8 KiB
Nix

{ config, pkgs, ... }:
{
home.username = "user";
home.homeDirectory = "/home/user";
# This value determines the Home Manager release that your configuration is
# compatible with. This helps avoid breakage when a new Home Manager release
# introduces backwards incompatible changes.
#
# You should not change this value, even if you update Home Manager. If you do
# want to update the value, then make sure to first check the Home Manager
# release notes.
home.stateVersion = "25.05"; # Please read the comment before changing.
# The home.packages option allows you to install Nix packages into your
# environment.
home.packages = with pkgs; [
librewolf
firefox
nextcloud-client
keepassxc
signal-desktop
luarocks
python3
unzip
wget
go
nodejs
tree-sitter
gcc
ripgrep
fd
cargo
texliveFull
jdk21
eza
zoxide
fzf
docker-compose
btop
freecad
orca-slicer
];
# Home Manager is pretty good at managing dotfiles. The primary way to manage
# plain files is through 'home.file'.
home.file = {
# # Building this configuration will create a copy of 'dotfiles/screenrc' in
# # the Nix store. Activating the configuration will then make '~/.screenrc' a
# # symlink to the Nix store copy.
# ".screenrc".source = dotfiles/screenrc;
# # You can also set the file content immediately.
# ".gradle/gradle.properties".text = ''
# org.gradle.console=verbose
# org.gradle.daemon.idletimeout=3600000
# '';
};
home.sessionVariables = {
EDITOR = "nvim";
JAVA_HOME = "${pkgs.jdk21}/lib/openjdk";
GTK_THEME = "Adwaita:dark";
XCURSOR_THEME = "Bibata-Modern-Clasic";
};
# Let Home Manager install and manage itself.
programs.home-manager.enable = true;
}