initial public commit
This commit is contained in:
commit
7a2e3fd0a8
24 changed files with 1743 additions and 0 deletions
29
sys/home/default.nix
Normal file
29
sys/home/default.nix
Normal 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
27
sys/home/lib/cli.nix
Normal 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
5
sys/home/lib/default.nix
Normal file
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
imports = [
|
||||
./cli.nix
|
||||
];
|
||||
}
|
Reference in a new issue