t14_legacy_config/home/default.nix
2022-11-29 22:17:46 -06:00

54 lines
1,006 B
Nix

{ self, nixpkgs, unstable, hm-isolation, nixGL }:
{ config, pkgs, lib, ... } :
with lib;
{
imports = [
(hm-isolation.homeManagerModule)
./apps
./allowUnfreeWhitelist.nix
./gui
./isolation.nix
./options.nix
./cli.nix
./systemd
];
nixpkgs.overlays = [ self.overlay nixGL.overlay ];
home = {
stateVersion = "21.11"; # No tocar esto
username = "fabian";
homeDirectory = "/home/fabian";
sessionVariables = {
"EDITOR" = "nvim";
"TERMINAL" = "kitty";
};
keyboard = {
layout = "us";
variant = "altgr-intl";
};
};
nix.registry = {
"system".to = {
type = "path";
path = "/home/fabian/nix";
};
"nixpkgs".flake = nixpkgs;
"unstable".flake = unstable;
};
programs.home-manager.enable = true;
local = {
apps.enable = mkDefault (!config.home.isolation.active);
gui = {
enable = mkDefault true;
desktop = mkDefault (!config.home.isolation.active);
};
};
}