Files
nixos/home/hosts/ivr/default.nix
T

112 lines
2.0 KiB
Nix
Raw Normal View History

{
pkgs,
lib,
...
}:
let
username = "gregory.hellings";
x = pkgs.xonsh.override {
extraPackages = (
ps: [
pkgs.nur.repos.xonsh-xontribs.xonsh-direnv
pkgs.nur.repos.xonsh-xontribs.xontrib-vox
ps.xonsh-apipenv
pkgs.pipenv-ivr
]
);
};
in
{
# 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-04-25 15:29:23 -05:00
vscodium = true;
};
2024-08-21 16:38:48 -05:00
home = {
packages = with pkgs; [
aacs
ansible
direnv
home-manager
2025-08-01 10:25:13 -05:00
just
2025-10-21 09:59:17 -05:00
go
gopls
2025-03-28 08:27:24 -05:00
k9s
kubectl
2025-09-16 22:35:53 -04:00
mariadb
2025-03-28 08:27:24 -05:00
minikube
2025-04-18 14:43:01 -05:00
mise
2025-06-23 09:19:16 -05:00
nil
2025-11-08 16:01:21 -06:00
nixVersions.stable
pipenv-ivr
2025-03-18 09:02:00 -05:00
pre-commit
2025-07-01 22:33:18 -04:00
python311
python3Packages.flake8
2025-03-28 08:27:24 -05:00
skaffold
x
];
2025-10-09 15:49:25 -05:00
file = {
".pip/pip.conf".text = ''
[global]
retries = 1
index-url = https://pypi.python.org/simple
extra-index-url =
https://pypidev.ivrtechnology.com/simple/
'';
".config/uv/uv.toml".text = ''
[[index]]
url = "https://pypidev.ivrtechnology.com"
name = "pypidev"
'';
};
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
tmux.shell = (lib.getExe x);
};
2023-08-21 10:20:24 -05:00
}