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

67 lines
1.1 KiB
Nix
Raw Permalink Normal View History

2024-08-23 21:32:44 +02:00
{
2024-08-24 09:55:59 +02:00
self,
nixpkgs,
unstable,
hm-isolation,
nixGL,
}: {
config,
pkgs,
lib,
...
}:
with lib; {
2024-08-23 21:32:44 +02:00
imports = [
(hm-isolation.homeManagerModule)
./accounts.nix
./apps
./allowUnfreeWhitelist.nix
./gui
./isolation.nix
./options.nix
./cli.nix
./systemd
];
2024-08-24 09:55:59 +02:00
nixpkgs.overlays = [self.overlay nixGL.overlay];
2024-08-23 21:32:44 +02:00
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);
};
};
}