From 05ea082c5fed25655e59ed7851c0cd53b0624b35 Mon Sep 17 00:00:00 2001 From: freya Date: Tue, 21 Jan 2025 02:43:35 +0000 Subject: initial --- modules/home.nix | 83 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 83 insertions(+) create mode 100644 modules/home.nix (limited to 'modules/home.nix') diff --git a/modules/home.nix b/modules/home.nix new file mode 100644 index 0000000..dcee2ec --- /dev/null +++ b/modules/home.nix @@ -0,0 +1,83 @@ +{ 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; + + }; +} + -- cgit v1.2.3-freya