dotfiles-nix/modules/home.nix

84 lines
1.4 KiB
Nix
Raw Normal View History

2025-01-21 02:43:35 +00:00
{ config, pkgs, ... }:
{
home-manager.users.${config.user} = {
home.username = config.user;
home.homeDirectory = config.homePath;
news.display = "silent";
fonts.fontconfig.enable = true;
nixpkgs.config.allowUnfree = true;
home.packages = with pkgs; [
# c / c++
gcc
nasm
pkg-config
# rust
rustc
rustfmt
rust-analyzer
cargo
clippy
# programs
cage
easyeffects
discord
element-desktop
fd
gamescope
gajim
gimp
imagemagick
libnotify
mpv
pavucontrol
pfetch-rs
rsync
starship
steam
thunderbird
wine
wl-clip-persist
yt-dlp
zathura
# gtk
orchis-theme
];
home.file = {
".ssh/config".source = ../files/config/ssh/config;
".zshrc".source = ../files/config/zsh/zshrc;
".zprofile".source = ../files/config/zsh/zprofile;
};
xdg.configFile = {
iris = {
source = ../files/config/iris;
recursive = true;
};
nvim = {
source = ../files/config/nvim;
recursive = true;
};
};
xdg.dataFile = {
fonts = {
source = ../files/fonts;
recursive = true;
};
};
gtk = {
enable = true;
gtk3.extraConfig.gtk-application-prefer-dark-theme = 1;
};
programs.home-manager.enable = true;
};
}