{ config, pkgs, lib, ... }: let inherit (lib) optionals; hostName = import ./hostname.nix lib; # Be able to use unstable packages pkgsUnstable = import {}; in { # Required programs.home-manager.enable = true; home.username = "earne"; home.homeDirectory = "/home/earne"; imports = (optionals (hostName == "tycho") [ ./graphical.nix ]); home.packages = with pkgs; [ # Doom Emacs + dependencies pkgsUnstable.fd pkgsUnstable.ripgrep pkgsUnstable.emacs aerc isync khard gitFull git-extras ghq pkgsUnstable.neovim tmux yadm ]; # This value determines the Home Manager release that your # configuration is compatible with. This helps avoid breakage # when a new Home Manager release introduces backwards # incompatible changes. # # You can update Home Manager without changing this value. See # the Home Manager release notes for a list of state version # changes in each release. home.stateVersion = "21.05"; }