mirror of
https://github.com/itme-brain/nixos.git
synced 2026-03-23 16:29:42 -04:00
56 lines
1.1 KiB
Nix
56 lines
1.1 KiB
Nix
{ pkgs, lib, config, osConfig, ... }:
|
|
|
|
with lib;
|
|
let
|
|
cfg = config.modules.user.utils.dev;
|
|
|
|
in
|
|
{ options.modules.user.utils.dev = { enable = mkEnableOption "user.utils.dev"; };
|
|
config = mkIf cfg.enable {
|
|
home.packages = with pkgs; [
|
|
claude-code
|
|
|
|
nix-init
|
|
nix-prefetch-git
|
|
nurl
|
|
|
|
pkg-config
|
|
qrencode
|
|
|
|
docker
|
|
|
|
# Network/system tools
|
|
fping
|
|
wireguard-tools
|
|
pciutils
|
|
lshw
|
|
] ++ optionals (osConfig.virtualisation.libvirtd.enable) [
|
|
virt-manager
|
|
];
|
|
|
|
programs = {
|
|
#bash = {
|
|
# initExtra = import ./config/penpot.nix;
|
|
#};
|
|
direnv = {
|
|
enable = true;
|
|
enableBashIntegration = true;
|
|
nix-direnv.enable = true;
|
|
};
|
|
};
|
|
|
|
home = {
|
|
sessionVariables = {
|
|
DIRENV_LOG_FORMAT = "";
|
|
};
|
|
|
|
# Workaround for direnv_log bug
|
|
# https://github.com/direnv/direnv/issues/1418#issuecomment-2820125413
|
|
file.".config/direnv/direnv.toml" = {
|
|
enable = true;
|
|
force = true;
|
|
text = "";
|
|
};
|
|
};
|
|
};
|
|
}
|