This repository has been archived on 2024-09-13. You can view files and clone it, but cannot push or open issues or pull requests.
desktop_nixos_config_legacy/home/default.nix

59 lines
1.1 KiB
Nix

{ self, nixpkgs, unstable, hm-isolation, nixGL }:
{ config, pkgs, lib, ... }:
with lib;
{
imports = [
(hm-isolation.homeManagerModule)
./accounts.nix
./apps
./allowUnfreeWhitelist.nix
./gui
./isolation.nix
./options.nix
./cli.nix
./systemd
];
nixpkgs.overlays = [ self.overlay nixGL.overlay ];
services.ssh-agent.enable = true;
home = {
stateVersion = "21.11"; # No tocar esto
username = "fabian";
homeDirectory = "/home/fabian";
sessionVariables = {
"EDITOR" = "nvim";
"TERMINAL" = "kitty";
};
keyboard = {
layout = "us";
variant = "altgr-intl";
};
};
xdg.enable = true;
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);
};
};
}