40 lines
629 B
Nix
40 lines
629 B
Nix
{
|
|
flakes,
|
|
config,
|
|
pkgs,
|
|
lib,
|
|
...
|
|
}: {
|
|
imports = [
|
|
./lib
|
|
./systemd
|
|
./gui
|
|
./isolation.nix
|
|
];
|
|
|
|
nix.registry = {
|
|
"system".to = {
|
|
type = "path";
|
|
path = "/home/fabian/nix";
|
|
};
|
|
|
|
"nixpkgs".flake = flakes.nixpkgs;
|
|
"unstable".flake = flakes.unstable;
|
|
};
|
|
|
|
home = {
|
|
stateVersion = "21.11"; # No tocar esto
|
|
username = "fabian";
|
|
homeDirectory = "/home/fabian";
|
|
sessionVariables = {
|
|
"EDITOR" = "nvim";
|
|
"TERMINAL" = "kitty";
|
|
};
|
|
keyboard = {
|
|
layout = "us";
|
|
variant = "altgr-intl";
|
|
};
|
|
};
|
|
programs.home-manager.enable = true;
|
|
}
|