dotfiles-nix/modules/home.nix

79 lines
1.3 KiB
Nix

{ 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
adwaita-icon-theme
cage
easyeffects
discord
element-desktop
fd
gamescope
gajim
gimp
imagemagick
libnotify
mpv
pavucontrol
pfetch-rs
rsync
starship
steam
thunderbird
unityhub
vrc-get
wine
wl-clipboard
wl-clip-persist
wl-mirror
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 = {};
xdg.dataFile = {
fonts = {
source = ../files/fonts;
recursive = true;
};
};
gtk = {
enable = true;
gtk3.extraConfig.gtk-application-prefer-dark-theme = 1;
};
programs.home-manager.enable = true;
};
}