{ lib, config, pkgs, ... }: with lib; { imports = [ ./desktop.nix ./environ.nix ./graphics.nix ./isolation.nix ./path.nix ]; options.local.workstation = with lib.types; mkOption { type = bool; }; config = { nix.registry."system".to = { type = "path"; path = "${config.home.homeDirectory}/nix"; }; 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"; username = "ale"; homeDirectory = "/home/${config.home.username}"; sessionVariables = { EDITOR = "nvim"; LESSHISTFILE = "/dev/null"; # Usar gtk en aplicaciones de jvm _JAVA_OPTIONS = concatStringsSep " " [ "-Dawt.useSystemAAFontSettings=on" "-Dswing.aatext=true" "-Dswing.defaultlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel" "-Dswing.crossplatformlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel" ]; }; language.base = "es_CR.UTF-8"; }; programs.home-manager.enable = true; }; }