summaryrefslogtreecommitdiff
path: root/home/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'home/default.nix')
-rw-r--r--home/default.nix67
1 files changed, 6 insertions, 61 deletions
diff --git a/home/default.nix b/home/default.nix
index 96d6b3f..254cde2 100644
--- a/home/default.nix
+++ b/home/default.nix
@@ -1,66 +1,11 @@
-{ lib, config, pkgs, ... }:
-with lib; {
+{ flakes, ... }: {
imports = [
+ flakes.hm-isolation.homeManagerModule
../pki
- ./desktop.nix
- ./environ.nix
- ./git.nix
- ./gpg.nix
- ./graphics.nix
- ./isolation.nix
+ ./baseline
+ ./desktop
+ ./environ
+ ./isolation
./mail
- ./path.nix
- ./pass.nix
- ./ssh
];
-
- options.local = with lib.types; {
- hostname = mkOption {
- type = str;
- };
-
- uid = mkOption {
- type = int;
- };
-
- workstation = 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";
-
- 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"
- ];
- };
- };
-
- programs.home-manager.enable = true;
- };
}