add server

Former-commit-id: 25d4dc93f1
This commit is contained in:
Hadi
2024-06-17 23:29:47 +02:00
parent c5e9cb9c32
commit 7ebc1ba322
8 changed files with 247 additions and 3 deletions

49
home/server.nix Normal file
View File

@@ -0,0 +1,49 @@
{ pkgs, config, ... }: {
imports = [
../hosts/laptop/variables.nix
# Programs
./programs/btop
./programs/nvim
# Scripts
./scripts # All scripts
# System
./system/git
./system/shell
./system/sops/server.nix
];
home = {
inherit (config.var) username;
inherit (config.var) homeDirectory;
packages = with pkgs; [
# Dev
go
cargo
nodejs
python3
jq
# Utils
fd
bc
gcc
zip
unzip
wget
curl
glow
wireguard-tools
pfetch
];
stateVersion = "24.05";
};
programs.home-manager.enable = true;
}