feat: add li host
This commit is contained in:
@@ -40,4 +40,5 @@ in
|
|||||||
{
|
{
|
||||||
"MacBook-Pro" = mac { name = "ivr"; };
|
"MacBook-Pro" = mac { name = "ivr"; };
|
||||||
"MacBook-Prolocal" = mac { name = "ivr"; };
|
"MacBook-Prolocal" = mac { name = "ivr"; };
|
||||||
|
"li" = mac { name = "li"; };
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -0,0 +1,47 @@
|
|||||||
|
{ ... }:
|
||||||
|
let
|
||||||
|
username = "gregory.hellings";
|
||||||
|
in
|
||||||
|
{
|
||||||
|
greg = {
|
||||||
|
nix.cache = false;
|
||||||
|
};
|
||||||
|
|
||||||
|
homebrew = {
|
||||||
|
enable = true;
|
||||||
|
brews = [
|
||||||
|
"bitwarden-cli"
|
||||||
|
"direnv"
|
||||||
|
{
|
||||||
|
name = "libvirt";
|
||||||
|
restart_service = true;
|
||||||
|
}
|
||||||
|
"nushell"
|
||||||
|
"qemu"
|
||||||
|
];
|
||||||
|
casks = [
|
||||||
|
"alt-tab"
|
||||||
|
"audacity"
|
||||||
|
"bitwarden"
|
||||||
|
"bruno"
|
||||||
|
"chromium"
|
||||||
|
"dbeaver-community"
|
||||||
|
"ghostty"
|
||||||
|
"firefox"
|
||||||
|
"notunes"
|
||||||
|
"onlyoffice"
|
||||||
|
"podman-desktop"
|
||||||
|
"tabby"
|
||||||
|
"zed"
|
||||||
|
"zoom"
|
||||||
|
];
|
||||||
|
user = username;
|
||||||
|
};
|
||||||
|
|
||||||
|
system.primaryUser = username;
|
||||||
|
|
||||||
|
users.users."${username}" = {
|
||||||
|
name = username;
|
||||||
|
home = "/Users/${username}";
|
||||||
|
};
|
||||||
|
}
|
||||||
@@ -19,5 +19,6 @@ builds:
|
|||||||
- homeConfigurations.exodus
|
- homeConfigurations.exodus
|
||||||
- darwinConfigurations.MacBook-Pro
|
- darwinConfigurations.MacBook-Pro
|
||||||
- darwinConfigurations.MacBook-Prolocal
|
- darwinConfigurations.MacBook-Prolocal
|
||||||
|
- darwinConfigurations.li
|
||||||
- nixosConfigurations.builder-x86
|
- nixosConfigurations.builder-x86
|
||||||
- nixosConfigurations.builder-aarch
|
- nixosConfigurations.builder-aarch
|
||||||
|
|||||||
@@ -40,6 +40,7 @@ in
|
|||||||
zeke = greg "zeke";
|
zeke = greg "zeke";
|
||||||
isaiah = greg "isaiah";
|
isaiah = greg "isaiah";
|
||||||
jeremiah = greg "jeremiah";
|
jeremiah = greg "jeremiah";
|
||||||
|
li = user "li" "gregory.hellings";
|
||||||
linode = greg "linode";
|
linode = greg "linode";
|
||||||
hosea = greg "hosea";
|
hosea = greg "hosea";
|
||||||
gitlab = greg "gitlab";
|
gitlab = greg "gitlab";
|
||||||
|
|||||||
@@ -5,16 +5,6 @@
|
|||||||
}:
|
}:
|
||||||
let
|
let
|
||||||
username = "gregory.hellings";
|
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
|
in
|
||||||
{
|
{
|
||||||
# Disables hitting local cache
|
# Disables hitting local cache
|
||||||
@@ -28,7 +18,6 @@ in
|
|||||||
|
|
||||||
home = {
|
home = {
|
||||||
packages = with pkgs; [
|
packages = with pkgs; [
|
||||||
aacs
|
|
||||||
ansible
|
ansible
|
||||||
direnv
|
direnv
|
||||||
home-manager
|
home-manager
|
||||||
@@ -36,20 +25,13 @@ in
|
|||||||
just
|
just
|
||||||
go
|
go
|
||||||
gopls
|
gopls
|
||||||
k9s
|
|
||||||
kubectl
|
|
||||||
mariadb
|
mariadb
|
||||||
minikube
|
|
||||||
mise
|
|
||||||
nil
|
|
||||||
nixVersions.stable
|
nixVersions.stable
|
||||||
pipenv-ivr
|
pipenv-ivr
|
||||||
pre-commit
|
pre-commit
|
||||||
python311
|
python311
|
||||||
python3Packages.flake8
|
python3Packages.flake8
|
||||||
skaffold
|
|
||||||
twine
|
twine
|
||||||
x
|
|
||||||
];
|
];
|
||||||
file = {
|
file = {
|
||||||
".pip/pip.conf".text = ''
|
".pip/pip.conf".text = ''
|
||||||
@@ -108,6 +90,5 @@ in
|
|||||||
"web4"
|
"web4"
|
||||||
]
|
]
|
||||||
);
|
);
|
||||||
tmux.shell = (lib.getExe x);
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -0,0 +1,54 @@
|
|||||||
|
{
|
||||||
|
pkgs,
|
||||||
|
lib,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
let
|
||||||
|
username = "gregory.hellings";
|
||||||
|
in
|
||||||
|
{
|
||||||
|
# Disables hitting local cache
|
||||||
|
_module.args.cache = lib.mkForce false;
|
||||||
|
greg = {
|
||||||
|
development = true;
|
||||||
|
gui = true;
|
||||||
|
nix.cache = false;
|
||||||
|
vscodium = false;
|
||||||
|
};
|
||||||
|
|
||||||
|
home = {
|
||||||
|
packages = with pkgs; [
|
||||||
|
ansible
|
||||||
|
direnv
|
||||||
|
home-manager
|
||||||
|
python3Packages.ipython
|
||||||
|
just
|
||||||
|
nixVersions.stable
|
||||||
|
pre-commit
|
||||||
|
];
|
||||||
|
username = username;
|
||||||
|
homeDirectory = "/Users/${username}";
|
||||||
|
};
|
||||||
|
|
||||||
|
programs = {
|
||||||
|
direnv = {
|
||||||
|
enable = true;
|
||||||
|
enableNushellIntegration = true;
|
||||||
|
};
|
||||||
|
nushell = {
|
||||||
|
enable = true;
|
||||||
|
};
|
||||||
|
starship = {
|
||||||
|
enable = true;
|
||||||
|
enableNushellIntegration = true;
|
||||||
|
settings = {
|
||||||
|
directory = {
|
||||||
|
home_symbol = "~";
|
||||||
|
truncate_to_repo = false;
|
||||||
|
truncation_length = 0;
|
||||||
|
use_os_path_sep = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
+13
-38
@@ -24,10 +24,7 @@
|
|||||||
"pubkey": "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIO/CGE2rqlL2Qr0TJkwQMsHFSDkhGWlrUlvfcvcylO1n",
|
"pubkey": "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIO/CGE2rqlL2Qr0TJkwQMsHFSDkhGWlrUlvfcvcylO1n",
|
||||||
"ts": "100.96.198.104",
|
"ts": "100.96.198.104",
|
||||||
"system": "x86_64-linux",
|
"system": "x86_64-linux",
|
||||||
"tags": [
|
"tags": ["router", "server"],
|
||||||
"router",
|
|
||||||
"server"
|
|
||||||
],
|
|
||||||
"nebulaIp": "10.157.0.2"
|
"nebulaIp": "10.157.0.2"
|
||||||
},
|
},
|
||||||
"hosea": {
|
"hosea": {
|
||||||
@@ -35,9 +32,7 @@
|
|||||||
"pubkey": "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKLIwkTTXA56sUlUjEulXXZRvZy5H4a5ZwgKWLlpkQDz",
|
"pubkey": "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKLIwkTTXA56sUlUjEulXXZRvZy5H4a5ZwgKWLlpkQDz",
|
||||||
"ts": "100.68.203.1",
|
"ts": "100.68.203.1",
|
||||||
"system": "x86_64-linux",
|
"system": "x86_64-linux",
|
||||||
"tags": [
|
"tags": ["server"],
|
||||||
"server"
|
|
||||||
],
|
|
||||||
"nebulaIp": "10.157.0.3"
|
"nebulaIp": "10.157.0.3"
|
||||||
},
|
},
|
||||||
"icdm-root": {
|
"icdm-root": {
|
||||||
@@ -50,15 +45,8 @@
|
|||||||
"pubkey": "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIHleYKtfV4W1Z63Ysu9w5Rbglqlz4F92YcZoMkucoTNf",
|
"pubkey": "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIHleYKtfV4W1Z63Ysu9w5Rbglqlz4F92YcZoMkucoTNf",
|
||||||
"ts": "100.84.183.79",
|
"ts": "100.84.183.79",
|
||||||
"system": "x86_64-linux",
|
"system": "x86_64-linux",
|
||||||
"systems": [
|
"systems": ["x86_64-linux", "aarch64-linux"],
|
||||||
"x86_64-linux",
|
"tags": ["builder", "kube", "server"],
|
||||||
"aarch64-linux"
|
|
||||||
],
|
|
||||||
"tags": [
|
|
||||||
"builder",
|
|
||||||
"kube",
|
|
||||||
"server"
|
|
||||||
],
|
|
||||||
"nebulaIp": "10.157.0.4"
|
"nebulaIp": "10.157.0.4"
|
||||||
},
|
},
|
||||||
"iso": {
|
"iso": {
|
||||||
@@ -75,15 +63,8 @@
|
|||||||
"pubkey": "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOjQjXq9WYU2Ki27BR9WwJ4ZruS/lJXbjC1b0Q42Adi0",
|
"pubkey": "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOjQjXq9WYU2Ki27BR9WwJ4ZruS/lJXbjC1b0Q42Adi0",
|
||||||
"ts": "100.102.186.39",
|
"ts": "100.102.186.39",
|
||||||
"system": "x86_64-linux",
|
"system": "x86_64-linux",
|
||||||
"systems": [
|
"systems": ["x86_64-linux", "aarch64-linux"],
|
||||||
"x86_64-linux",
|
"tags": ["builder", "kube", "server"],
|
||||||
"aarch64-linux"
|
|
||||||
],
|
|
||||||
"tags": [
|
|
||||||
"builder",
|
|
||||||
"kube",
|
|
||||||
"server"
|
|
||||||
],
|
|
||||||
"nebulaIp": "10.157.0.5"
|
"nebulaIp": "10.157.0.5"
|
||||||
},
|
},
|
||||||
"joel": {
|
"joel": {
|
||||||
@@ -91,15 +72,16 @@
|
|||||||
"ip": "10.42.0.4",
|
"ip": "10.42.0.4",
|
||||||
"ts": null
|
"ts": null
|
||||||
},
|
},
|
||||||
|
"li": {
|
||||||
|
"external": true,
|
||||||
|
"system": "aarch64-darwin"
|
||||||
|
},
|
||||||
"linode": {
|
"linode": {
|
||||||
"ip": null,
|
"ip": null,
|
||||||
"pubkey": "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIMv9Zud3kZOl86gtmkn+uj3D4kiXWDPtyUL02VVLNR4Q",
|
"pubkey": "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIMv9Zud3kZOl86gtmkn+uj3D4kiXWDPtyUL02VVLNR4Q",
|
||||||
"ts": "100.109.86.8",
|
"ts": "100.109.86.8",
|
||||||
"system": "x86_64-linux",
|
"system": "x86_64-linux",
|
||||||
"tags": [
|
"tags": ["public", "server"],
|
||||||
"public",
|
|
||||||
"server"
|
|
||||||
],
|
|
||||||
"nebulaIp": "10.157.0.1"
|
"nebulaIp": "10.157.0.1"
|
||||||
},
|
},
|
||||||
"MacBook-Pro.local": {
|
"MacBook-Pro.local": {
|
||||||
@@ -136,15 +118,8 @@
|
|||||||
"pubkey": "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOos0zQePsa+T6Z2dsKbPOvEdrBQ8a6mx3s7pN6ysCI0",
|
"pubkey": "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOos0zQePsa+T6Z2dsKbPOvEdrBQ8a6mx3s7pN6ysCI0",
|
||||||
"ts": "100.90.74.19",
|
"ts": "100.90.74.19",
|
||||||
"system": "x86_64-linux",
|
"system": "x86_64-linux",
|
||||||
"systems": [
|
"systems": ["x86_64-linux", "aarch64-linux"],
|
||||||
"x86_64-linux",
|
"tags": ["builder", "kube", "server"],
|
||||||
"aarch64-linux"
|
|
||||||
],
|
|
||||||
"tags": [
|
|
||||||
"builder",
|
|
||||||
"kube",
|
|
||||||
"server"
|
|
||||||
],
|
|
||||||
"nebulaIp": "10.157.0.6"
|
"nebulaIp": "10.157.0.6"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user