t14_legacy_config/home/default.nix

55 lines
1 KiB
Nix
Raw Normal View History

2022-08-26 05:43:18 +02:00
{ nixpkgs, self, hm-isolation }:
2022-08-26 06:50:38 +02:00
{ config, pkgs, lib, ... } :
with lib;
{
2022-08-26 05:43:18 +02:00
imports = [
(hm-isolation.homeManagerModule)
2022-08-26 06:50:38 +02:00
./gui
2022-08-26 05:43:18 +02:00
./isolation.nix
2022-08-26 06:50:38 +02:00
./path.nix
2022-08-26 05:43:18 +02:00
./systemd
];
2022-03-17 09:00:17 +01:00
2022-08-26 06:50:38 +02:00
nixpkgs.overlays = [ self.overlay ];
2022-03-17 09:00:17 +01:00
home = {
stateVersion = "21.11"; # No tocar esto
username = "fabian";
homeDirectory = "/home/fabian";
2022-03-24 07:18:25 +01:00
sessionVariables = {
"EDITOR" = "nvim";
"TERMINAL" = "kitty";
};
2022-08-06 05:15:35 +02:00
keyboard = {
2022-10-18 22:36:17 +02:00
layout = "us";
variant = "altgr-intl";
2022-08-06 05:15:35 +02:00
};
2022-03-17 09:00:17 +01:00
};
2022-08-26 06:50:38 +02:00
nix.registry = {
"system".to = {
type = "path";
path = "/home/fabian/nix";
};
"nixpkgs".flake = nixpkgs;
2022-04-10 04:38:05 +02:00
};
2022-08-26 06:50:38 +02:00
programs = {
home-manager.enable = true;
neovim.enable = true;
zsh = {
enable = true;
2022-08-26 06:50:38 +02:00
enableSyntaxHighlighting = true;
initExtra = import ./zshrc.nix pkgs;
};
git = {
enable = true;
userEmail = "fabian@cluster451.org";
userName = "Fabián Montero";
signing.key = "E77A808BF9A955D668EEEA6473FA9C9CB5F0249B";
};
2022-03-17 09:00:17 +01:00
};
}