nixos-config/home/common.nix

61 lines
1 KiB
Nix

{pkgs, ...}:
let
user = import ../data/user.nix {};
in {
# Manage NixOS configurations
programs.nh = {
enable = true;
};
# Direnv for project-specific environment variables
programs.direnv = {
enable = true;
nix-direnv.enable = true;
enableZshIntegration = true;
};
# Font configuration
fonts.fontconfig.enable = true;
home = {
stateVersion = "25.05";
homeDirectory = "/home/${user.username}";
username = user.username;
shell.enableZshIntegration = true;
sessionVariables = {
SSH_AUTH_SOCK = "/run/user/1000/ssh-agent";
EDITOR = "nvim";
VISUAL = "nvim";
GTK_THEME = "Breeze-Dark";
NIXOS_OZONE_WL = "1";
};
packages = with pkgs; [
# Add your global packages here
duralumin
duralumin-keygen
ranger
neovim
bottom
git
wget
curl
tree
htop
ripgrep
killall
xdg-utils
file
gh
# for running wayland apps over ssh
waypipe
screenshot
];
};
}