Files
config/modules/profiles/work/default.nix
Motiejus Jakštys 0f2b92cf2b Refactor config structure: modules, profiles, and shared/home
- Convert shared/home/default.nix from function to module (imports instead of params)
- Extract browsers to shared/home/gui.nix, imported by basedesktop profile
- Extract dev tools (neovim plugins, GOPATH) to shared/home/dev.nix, imported by devtools profile
- Move dev packages (Go, Zig, ctags) from home.packages to devtools system packages
- Remove devTools, wrapGo, email function parameters from shared/home
- Create modules/profiles/basedesktop for cross-platform desktop packages (VLC, scrcpy, yt-dlp, ffmpeg, etc.)
- Rename modules/profiles/desktop to linuxdesktop
- Create LUKS+BTRFS profile options (mj.profiles.btrfs.disk), consolidating 5 hosts
- Extract fwminex caddy vhosts to hosts/fwminex/caddy.nix
- Move shared/work/ to modules/profiles/work/
- Fix fra1-c: move ./modules import from flake.nix to configuration.nix
- Remove dead code in vno1-gdrx (commented borgbackup) and mtworx (disabled postfix)
- Move extract_url and tmuxbash from home.packages to base system packages
- Add macworx to syncthing devices and M-Active folder
2026-04-07 20:10:33 +03:00

53 lines
1.3 KiB
Nix

{ config, pkgs, ... }:
{
environment.systemPackages = with pkgs; [
#swc
turbo
nodejs
typescript
#concurrently
bats
unzip
rclone
mysql80
kubectl
kubectx
terraform
github-cli
pkgs.pkgs-unstable.claude-code
docker-compose
gcloud-wrapped
kubectl-node-shell
];
programs._1password.enable = true;
home-manager.users.${config.mj.username} = {
home.sessionVariables = {
GOFLAGS = "-tags=big,integration,cluster_integration";
GOPRIVATE = "github.com/chronosphereio";
BUILDKIT_COLORS = "run=123,20,245:error=yellow:cancel=blue:warning=white";
CLAUDE_CODE_USE_VERTEX = "1";
CLOUD_ML_REGION = "europe-west1";
ANTHROPIC_VERTEX_PROJECT_ID = "chronosphere-rc-b";
};
programs = {
git.settings = {
url."git@github.com:".insteadOf = "https://github.com";
user.useConfigOnly = true;
};
bash.initExtra = ''
droidcli() {
(cd $HOME/dev/monorepo; bin/droidcli "$@")
}
mj_ps1_extra() {
if [[ $PWD =~ $HOME/dev ]]; then
kubectl config view --minify -o jsonpath={.current-context}:{..namespace}
fi
}
export PS1=$(echo "$PS1" | sed 's;\\n;$(mj_ps1_extra);')
'';
};
};
}