init server modules

Former-commit-id: 98cf8e99b0
This commit is contained in:
Hadi
2025-03-18 23:09:42 +01:00
parent e26b4d0285
commit 16c9d54a30
4 changed files with 118 additions and 0 deletions

45
hosts/server/home.nix Normal file
View File

@@ -0,0 +1,45 @@
{ pkgs, config, ... }: {
imports = [
# Mostly user-specific configuration
./variables.nix
# Programs
../../home/programs/nvim
../../home/programs/shell
../../home/programs/fetch
../../home/programs/git
../../home/programs/lazygit
# Scripts
../../home/scripts # All scripts
];
home = {
inherit (config.var) username;
homeDirectory = "/home/" + config.var.username;
packages = with pkgs; [
# Dev
go
nodejs
python3
jq
just
pnpm
# Utils
zip
unzip
optipng
pfetch
btop
fastfetch
];
# Don't touch this
stateVersion = "24.05";
};
programs.home-manager.enable = true;
}