initial public commit

This commit is contained in:
Fabian Montero 2024-08-23 13:01:33 -06:00
commit 7a2e3fd0a8
Signed by untrusted user: fabian
GPG key ID: 1FFAC35E1798174F
24 changed files with 1743 additions and 0 deletions

29
sys/home/default.nix Normal file
View file

@ -0,0 +1,29 @@
{ config, pkgs, lib, flakes, ... }:
with lib;
{
imports = [
./lib
];
home = {
stateVersion = "24.05"; # No tocar esto
username = "fabian";
homeDirectory = "/home/fabian";
sessionVariables = {
"EDITOR" = "nvim";
};
};
xdg.enable = true;
nix.registry = {
"system".to = {
type = "path";
path = "/home/fabian/nix";
};
"nixpkgs".flake = flakes.nixpkgs;
"unstable".flake = flakes.unstable;
};
}

27
sys/home/lib/cli.nix Normal file
View file

@ -0,0 +1,27 @@
{ lib, pkgs, ... }:
with lib;
{
programs = {
zsh = {
enable = true;
syntaxHighlighting.enable = true;
};
git = {
enable = true;
userEmail = "fabian@posixlycorrect.com";
userName = "fabianmv";
};
neovim.enable = true;
};
home.packages = with pkgs;
[
file
htop
killall
man-pages
man-pages-posix
tree
zip
unzip
];
}

5
sys/home/lib/default.nix Normal file
View file

@ -0,0 +1,5 @@
{
imports = [
./cli.nix
];
}