mirror of
https://github.com/pnx/dotfiles
synced 2026-11-25 07:06:48 +01:00
update nono
This commit is contained in:
parent
9f3e83433c
commit
173e802291
11 changed files with 95 additions and 226 deletions
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"entries": {
|
||||
"nolabs-ai/codex": {
|
||||
"last_check": "2026-11-12T12:36:48.166490579Z",
|
||||
"last_check": "2026-11-17T10:53:12.569095006Z",
|
||||
"installed_at_check": "0.2.4",
|
||||
"latest": "0.2.4"
|
||||
}
|
||||
|
|
|
|||
2
nono/profiles/.editorconfig
Normal file
2
nono/profiles/.editorconfig
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
[*.json]
|
||||
indent_size = 2
|
||||
|
|
@ -1,93 +1,18 @@
|
|||
{
|
||||
"extends": [
|
||||
"nolabs-ai/codex"
|
||||
],
|
||||
"meta": {
|
||||
"name": "codex",
|
||||
"version": "1.0.0",
|
||||
"description": "Runtime-discovered path additions for codex",
|
||||
"author": "Henrik Hautakoski"
|
||||
},
|
||||
"security": {
|
||||
"signal_mode": null,
|
||||
"process_info_mode": null,
|
||||
"ipc_mode": null,
|
||||
"capability_elevation": null,
|
||||
"approval_backends": {},
|
||||
"approval_defaults": null,
|
||||
"wsl2_proxy_policy": null
|
||||
},
|
||||
"groups": {
|
||||
"include": [],
|
||||
"exclude": []
|
||||
},
|
||||
"commands": {
|
||||
"allow": [],
|
||||
"deny": []
|
||||
},
|
||||
"filesystem": {
|
||||
"allow": [],
|
||||
"read": [],
|
||||
"write": [],
|
||||
"allow_file": [],
|
||||
"read_file": [
|
||||
"/run/user/1000/bus"
|
||||
],
|
||||
"write_file": [],
|
||||
"unix_socket": [],
|
||||
"unix_socket_bind": [],
|
||||
"unix_socket_dir": [],
|
||||
"unix_socket_dir_bind": [],
|
||||
"unix_socket_subtree": [],
|
||||
"unix_socket_subtree_bind": [],
|
||||
"deny": [],
|
||||
"bypass_protection": [],
|
||||
"suppress_save_prompt": []
|
||||
},
|
||||
"extends": [
|
||||
"nolabs-ai/codex"
|
||||
],
|
||||
"network": {
|
||||
"block": false,
|
||||
"allow_http2": false,
|
||||
"allow_domain": [],
|
||||
"deny_domain": [],
|
||||
"open_port": [],
|
||||
"open_port_range": [],
|
||||
"listen_port": [],
|
||||
"listen_port_range": [],
|
||||
"connect_port": [],
|
||||
"no_proxy": [],
|
||||
"custom_credentials": {},
|
||||
"tls_intercept": null,
|
||||
"upstream_proxy": null,
|
||||
"upstream_bypass": [],
|
||||
"approval_backends": {},
|
||||
"approval_defaults": null
|
||||
},
|
||||
"diagnostics": {
|
||||
"suppress_system_services": [],
|
||||
"redaction": {
|
||||
"extra_env_vars": []
|
||||
},
|
||||
"network_denial_audit": {}
|
||||
},
|
||||
"linux": {
|
||||
"af_unix_mediation": null,
|
||||
"sandbox_policy": null
|
||||
},
|
||||
"env_credentials": {},
|
||||
"credential_capture": {},
|
||||
"credential_providers": {},
|
||||
"credential_routes": [],
|
||||
"workdir": {
|
||||
"access": "none"
|
||||
},
|
||||
"hooks": {},
|
||||
"session_hooks": {},
|
||||
"rollback": {
|
||||
"exclude_patterns": [],
|
||||
"exclude_globs": []
|
||||
},
|
||||
"skipdirs": [],
|
||||
"packs": [],
|
||||
"command_args": [],
|
||||
"unsafe_macos_seatbelt_rules": []
|
||||
"network_profile": "codex",
|
||||
"allow_domain": [
|
||||
"chatgpt.com",
|
||||
"ab.chatgpt.com"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,7 +1,4 @@
|
|||
{
|
||||
"extends": [
|
||||
"devel",
|
||||
],
|
||||
"meta": {
|
||||
"name": "composer-dev"
|
||||
"version": "1.0.0",
|
||||
|
|
@ -10,8 +7,7 @@
|
|||
},
|
||||
"filesystem": {
|
||||
"allow": [
|
||||
"$HOME/.cache/composer"
|
||||
],
|
||||
"read": []
|
||||
"~/.cache/composer"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,101 +1,11 @@
|
|||
{
|
||||
"extends": [
|
||||
"default"
|
||||
],
|
||||
"meta": {
|
||||
"name": "default-local",
|
||||
"version": "1.0.0",
|
||||
"description": "Local defaults",
|
||||
"author": "Henrik Hautakoski"
|
||||
},
|
||||
"security": {
|
||||
"signal_mode": null,
|
||||
"process_info_mode": null,
|
||||
"ipc_mode": null,
|
||||
"capability_elevation": null,
|
||||
"approval_backends": {},
|
||||
"approval_defaults": null,
|
||||
"wsl2_proxy_policy": null
|
||||
},
|
||||
"groups": {
|
||||
"include": [],
|
||||
"exclude": []
|
||||
},
|
||||
"commands": {
|
||||
"allow": [],
|
||||
"deny": []
|
||||
},
|
||||
"filesystem": {
|
||||
"allow": [],
|
||||
"read": [],
|
||||
"write": [],
|
||||
"allow_file": [],
|
||||
"read_file": [],
|
||||
"write_file": [],
|
||||
"unix_socket": [],
|
||||
"unix_socket_bind": [],
|
||||
"unix_socket_dir": [],
|
||||
"unix_socket_dir_bind": [],
|
||||
"unix_socket_subtree": [],
|
||||
"unix_socket_subtree_bind": [],
|
||||
"deny": [
|
||||
"/home/pnx/.ssh",
|
||||
"/home/pnx/.aws",
|
||||
"/home/pnx/.gnupg",
|
||||
"/home/pnx/.docker",
|
||||
"/home/pnx/.local/share/keyrings"
|
||||
],
|
||||
"bypass_protection": [],
|
||||
"suppress_save_prompt": [
|
||||
"~/.docker",
|
||||
"///var/run/docker.sock",
|
||||
"/run/docker.sock"
|
||||
]
|
||||
},
|
||||
"network": {
|
||||
"block": false,
|
||||
"allow_http2": false,
|
||||
"allow_domain": [],
|
||||
"deny_domain": [],
|
||||
"open_port": [],
|
||||
"open_port_range": [],
|
||||
"listen_port": [],
|
||||
"listen_port_range": [],
|
||||
"connect_port": [],
|
||||
"no_proxy": [],
|
||||
"custom_credentials": {},
|
||||
"tls_intercept": null,
|
||||
"upstream_proxy": null,
|
||||
"upstream_bypass": [],
|
||||
"approval_backends": {},
|
||||
"approval_defaults": null
|
||||
},
|
||||
"diagnostics": {
|
||||
"suppress_system_services": [],
|
||||
"redaction": {
|
||||
"extra_env_vars": []
|
||||
},
|
||||
"network_denial_audit": {}
|
||||
},
|
||||
"linux": {
|
||||
"af_unix_mediation": "pathname",
|
||||
"sandbox_policy": null
|
||||
},
|
||||
"env_credentials": {},
|
||||
"credential_capture": {},
|
||||
"credential_providers": {},
|
||||
"credential_routes": [],
|
||||
"workdir": {
|
||||
"access": "readwrite"
|
||||
},
|
||||
"hooks": {},
|
||||
"session_hooks": {},
|
||||
"rollback": {
|
||||
"exclude_patterns": [],
|
||||
"exclude_globs": []
|
||||
},
|
||||
"skipdirs": [],
|
||||
"packs": [],
|
||||
"command_args": [],
|
||||
"unsafe_macos_seatbelt_rules": []
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,14 +1,13 @@
|
|||
{
|
||||
"extends": [
|
||||
"default-local",
|
||||
"git-ssh"
|
||||
],
|
||||
"meta": {
|
||||
"name": "devel"
|
||||
"version": "1.0.0",
|
||||
"description": "Generic development profile",
|
||||
"author": "Henrik Hautakoski"
|
||||
},
|
||||
"extends": [
|
||||
"git"
|
||||
],
|
||||
"network": {
|
||||
"network_profile": "developer"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,44 +1,15 @@
|
|||
{
|
||||
"extends": "default-local",
|
||||
"meta": {
|
||||
"name": "docker-dev"
|
||||
"name": "docker-dev",
|
||||
"version": "1.0.0",
|
||||
"description": "Docker development profile",
|
||||
"author": "Henrik Hautakoski"
|
||||
},
|
||||
"linux": {
|
||||
"af_unix_mediation": "pathname"
|
||||
},
|
||||
"command_policies": {
|
||||
"commands": {
|
||||
"docker": {
|
||||
"from": {
|
||||
"session": {
|
||||
"sandbox": {
|
||||
"fs_read": ["."],
|
||||
"unix_socket_bind": [
|
||||
"/run/docker.sock",
|
||||
"/run/run/docker.sock"
|
||||
]
|
||||
},
|
||||
"invocation_policy": {
|
||||
"default": "deny",
|
||||
"allow": [
|
||||
{
|
||||
"argv": {
|
||||
"exact": ["ps"]
|
||||
}
|
||||
},
|
||||
{
|
||||
"argv": {
|
||||
"exact": ["compose", "ps"]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
"filesystem": {
|
||||
"read": [
|
||||
"$HOME/.docker/config.json",
|
||||
"/usr/libexec/docker/cli-plugins/docker-compose",
|
||||
"/usr/libexec/docker/cli-plugins/docker-buildx"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
|
|||
50
nono/profiles/docker-lockdown.json
Normal file
50
nono/profiles/docker-lockdown.json
Normal file
|
|
@ -0,0 +1,50 @@
|
|||
{
|
||||
"meta": {
|
||||
"name": "docker-dev",
|
||||
"version": "1.0.0",
|
||||
"description": "Lock down docker",
|
||||
"author": "Henrik Hautakoski"
|
||||
},
|
||||
"filesystem": {
|
||||
"deny": [
|
||||
"/run/docker.sock",
|
||||
"/var/run/docker.sock"
|
||||
]
|
||||
},
|
||||
"command_policies": {
|
||||
"commands": {
|
||||
"docker": {
|
||||
"from": {
|
||||
"session": {
|
||||
"sandbox": {
|
||||
"fs_read": [
|
||||
".",
|
||||
"/usr/libexec/docker/cli-plugins"
|
||||
],
|
||||
"unix_socket_bind": [
|
||||
"/run/docker.sock",
|
||||
"/var/run/docker.sock"
|
||||
],
|
||||
"exec_paths": [
|
||||
"/usr/libexec/docker/cli-plugins/docker-compose",
|
||||
"/usr/libexec/docker/cli-plugins/docker-buildx"
|
||||
],
|
||||
},
|
||||
"invocation_policy": {
|
||||
"default": "deny",
|
||||
"allow": [
|
||||
{ "argv": { "exact": ["version"] } },
|
||||
{ "argv": { "exact": ["ps"] } },
|
||||
{ "argv": { "exact": ["compose"] } },
|
||||
{ "argv": { "prefix": ["info"] } },
|
||||
{ "argv": { "prefix": ["compose", "ps"] } },
|
||||
{ "argv": { "prefix": ["compose", "version"] } },
|
||||
{ "argv": { "prefix": ["compose", "exec"] } }
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -57,5 +57,5 @@
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
}
|
||||
|
|
|
|||
18
nono/profiles/git.json
Normal file
18
nono/profiles/git.json
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
{
|
||||
"meta": {
|
||||
"name": "git"
|
||||
"version": "1.0.0",
|
||||
"description": "access to git",
|
||||
"author": "Henrik Hautakoski"
|
||||
},
|
||||
"groups": {
|
||||
"include": [
|
||||
"git_config"
|
||||
]
|
||||
},
|
||||
"filesystem": {
|
||||
"read_file": [
|
||||
"$HOME/.config/git/delta.gitconfig"
|
||||
],
|
||||
}
|
||||
}
|
||||
|
|
@ -1,9 +1,7 @@
|
|||
{
|
||||
"extends": [
|
||||
"devel",
|
||||
"docker-dev",
|
||||
"composer-dev",
|
||||
"node-dev"
|
||||
"docker-dev"
|
||||
],
|
||||
"meta": {
|
||||
"name": "laravel",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue