update vps to use home modules

This commit is contained in:
Fabian Montero 2024-11-29 01:53:20 -06:00
parent 9c98f9a0a3
commit 265f1bd9c0
2 changed files with 25 additions and 41 deletions

View file

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

View file

@ -7,20 +7,8 @@
}:
with lib; {
imports = [
./cli.nix
];
home = {
stateVersion = "24.05"; # No tocar esto
username = "fabian";
homeDirectory = "/home/fabian";
sessionVariables = {
"EDITOR" = "nvim";
};
};
xdg.enable = true;
nix.registry = {
"system".to = {
type = "path";
@ -30,4 +18,29 @@ with lib; {
"nixpkgs".flake = flakes.nixpkgs;
"unstable".flake = flakes.unstable;
};
local = {
baseline.enable = true;
services = {
zsh.enable = true;
};
apps = {
neovim.enable = true;
};
};
home = {
packages = with pkgs; [
darktable
deluge
kdenlive
virt-manager
];
stateVersion = "24.05"; # DO NOT CHANGE
username = "fabian";
homeDirectory = "/home/fabian";
};
}