mirror of
https://github.com/itme-brain/nixos.git
synced 2026-03-23 16:29:42 -04:00
pruned
This commit is contained in:
commit
072951659a
114 changed files with 6922 additions and 0 deletions
56
user/modules/utils/dev/default.nix
Normal file
56
user/modules/utils/dev/default.nix
Normal file
|
|
@ -0,0 +1,56 @@
|
|||
{ 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 = "";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue