{ pkgs, inputs, outputs, config, lib, ... }: let username = "jerpo"; homeDirectory = "/home/${username}"; configHome = "${homeDirectory}/.config"; cliPkgs = with pkgs; [ fd jq zip tldr wget btop unzip p7zip ffmpeg ripgrep xdragon steam-run python311 xdg-utils pkg-config ghostscript adwaita-icon-theme pokemon-colorscripts nix-prefetch-scripts ]; nogamesPkgs = with pkgs; [ vkd3d steam bottles gamemode open-sans ]; baconPkgs = with pkgs; [ vesktop telegram-desktop libreoffice-fresh transmission_4-gtk ]; in { imports = [ ./homeModules ]; nixpkgs = { overlays = [ outputs.overlays.additions outputs.overlays.modifications outputs.overlays.unstable-packages ]; config = { allowUnfree = true; allowUnfreePredicate = _: true; }; }; home = { inherit username homeDirectory; stateVersion = "23.05"; packages = baconPkgs ++ nogamesPkgs ++ cliPkgs; sessionVariables.FLAKE = "/home/jerpo/nixfiles"; }; xdg = { inherit configHome; enable = true; }; lib.meta = { configPath = "${config.home.homeDirectory}/nixfiles/"; mkMutableSymlink = path: config.lib.file.mkOutOfStoreSymlink (config.lib.meta.configPath + lib.strings.removePrefix (toString inputs.self) (toString path)); }; # from homeModules stylixConfig.enable = true; stylixConfig.theme = "everforest"; emacs.enable = true; alacritty.enable = true; fish.enable = true; firefox.enable = true; zen-browser.enable = true; programs.home-manager.enable = true; }