{ config, lib, pkgs, ... }: with lib; let cfg = config.local.baseline; in { imports = [ ./git.nix ./graphics.nix ./nvim.nix ./zsh.nix ]; options.local = { hostname = mkOption { type = types.str; }; uid = mkOption { type = types.int; }; gecos = mkOption { type = types.str; }; email = mkOption { type = types.str; }; }; config = { home = { # 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. stateVersion = "21.11"; homeDirectory = "/home/${config.home.username}"; packages = [ pkgs.file pkgs.killall pkgs.man-pages pkgs.man-pages-posix pkgs.tree pkgs.unzip pkgs.wget pkgs.zip ]; sessionVariables = { LESSHISTFILE = "/dev/null"; }; }; xdg.enable = true; }; }