Files
nixos/home/hosts/gregory.hellings-mbp/default.nix
T

96 lines
1.8 KiB
Nix
Raw Normal View History

{
pkgs,
lib,
2026-04-06 16:21:02 -05:00
username,
...
}:
{
# Disables hitting local cache
_module.args.cache = lib.mkForce false;
greg = {
development = true;
gui = true;
2025-06-10 14:28:46 -05:00
nix.cache = false;
2025-12-25 17:16:16 -06:00
vscodium = false;
};
2024-08-21 16:38:48 -05:00
home = {
packages = with pkgs; [
ansible
2026-04-13 16:00:26 -05:00
claude-code
direnv
home-manager
2026-01-08 08:41:16 -06:00
python3Packages.ipython
2025-08-01 10:25:13 -05:00
just
2026-04-29 13:02:12 -05:00
glab
2025-10-21 09:59:17 -05:00
go
gopls
2025-09-16 22:35:53 -04:00
mariadb
2025-11-08 16:01:21 -06:00
nixVersions.stable
2025-03-18 09:02:00 -05:00
pre-commit
2025-07-01 22:33:18 -04:00
python311
python3Packages.flake8
2026-01-08 08:41:16 -06:00
twine
];
2025-10-09 15:49:25 -05:00
file = {
".pip/pip.conf".text = ''
[global]
retries = 1
index-url = https://pypi.python.org/
2025-10-09 15:49:25 -05:00
extra-index-url =
https://pypidev.ivrtechnology.com/
2025-10-09 15:49:25 -05:00
'';
".config/uv/uv.toml".text = ''
2026-04-15 13:56:51 -05:00
index-strategy = "unsafe-first-match"
2025-10-09 15:49:25 -05:00
[[index]]
url = "https://pypidev.ivrtechnology.com/"
2025-10-09 15:49:25 -05:00
name = "pypidev"
2026-04-15 13:56:51 -05:00
ignore-error-codes = [403]
2025-10-09 15:49:25 -05:00
'';
};
username = username;
homeDirectory = "/Users/${username}";
};
2025-06-05 13:25:50 -05:00
programs = {
direnv = {
enable = true;
enableNushellIntegration = true;
};
nushell = {
enable = true;
};
starship = {
enable = true;
enableNushellIntegration = true;
2025-06-24 13:28:52 -05:00
settings = {
directory = {
home_symbol = "~";
truncate_to_repo = false;
truncation_length = 0;
use_os_path_sep = true;
};
};
2025-06-05 13:25:50 -05:00
};
2025-11-02 22:44:01 -06:00
ssh.matchBlocks = lib.listToAttrs (
lib.map
(key: {
name = "${key}.ivrtechnology.com";
value = { };
})
[
"apidev1"
"asdev1"
"agidev1"
"kdev1"
"kdev2"
"kdev3"
"webdev4"
"webdev5"
2025-09-16 09:52:23 -05:00
2025-11-02 22:44:01 -06:00
"web4"
]
);
2025-06-05 13:25:50 -05:00
};
2023-08-21 10:20:24 -05:00
}