Update devenv stuff

This commit is contained in:
Tobias Reisinger 2026-05-11 21:19:32 +02:00
parent 254501c6a2
commit 4651901b12
Signed by: serguzim
GPG key ID: 13AD60C237A28DFE
5 changed files with 30 additions and 99 deletions

View file

@ -3,10 +3,11 @@
"devenv": { "devenv": {
"locked": { "locked": {
"dir": "src/modules", "dir": "src/modules",
"lastModified": 1774725838, "lastModified": 1778071019,
"narHash": "sha256-vb4UzOKKdLext4faiI1KbI0yrTKNdI8wyxHvOMycWd8=",
"owner": "cachix", "owner": "cachix",
"repo": "devenv", "repo": "devenv",
"rev": "488860aa6389de926c6f465f176e0ed83cbe8077", "rev": "a3ebee0b80ce56ae4acba2c971c09ee6eca75338",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -20,6 +21,7 @@
"flake": false, "flake": false,
"locked": { "locked": {
"lastModified": 1767039857, "lastModified": 1767039857,
"narHash": "sha256-vNpUSpF5Nuw8xvDLj2KCwwksIbjua2LZCqhV1LNRDns=",
"owner": "NixOS", "owner": "NixOS",
"repo": "flake-compat", "repo": "flake-compat",
"rev": "5edf11c44bc78a0d334f6334cdaf7d60d732daab", "rev": "5edf11c44bc78a0d334f6334cdaf7d60d732daab",
@ -40,10 +42,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1774104215, "lastModified": 1776796298,
"narHash": "sha256-PcRvlWayisPSjd0UcRQbhG8Oqw78AcPE6x872cPRHN8=",
"owner": "cachix", "owner": "cachix",
"repo": "git-hooks.nix", "repo": "git-hooks.nix",
"rev": "f799ae951fde0627157f40aec28dec27b22076d0", "rev": "3cfd774b0a530725a077e17354fbdb87ea1c4aad",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -60,10 +63,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1762808025, "lastModified": 1709087332,
"narHash": "sha256-HG2cCnktfHsKV0s4XW83gU3F57gaTljL9KNSuG6bnQs=",
"owner": "hercules-ci", "owner": "hercules-ci",
"repo": "gitignore.nix", "repo": "gitignore.nix",
"rev": "cb5e3fdca1de58ccbc3ef53de65bd372b48f567c", "rev": "637db329424fd7e46cf4185293b9cc8c88c95394",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -73,36 +77,17 @@
} }
}, },
"nixpkgs": { "nixpkgs": {
"inputs": {
"nixpkgs-src": "nixpkgs-src"
},
"locked": { "locked": {
"lastModified": 1774287239, "lastModified": 1778003029,
"owner": "cachix", "narHash": "sha256-q/nkKLDtHIyLjZpKhWk3cSK5IYsFqtMd6UtXF3ddjgA=",
"repo": "devenv-nixpkgs",
"rev": "fa7125ea7f1ae5430010a6e071f68375a39bd24c",
"type": "github"
},
"original": {
"owner": "cachix",
"ref": "rolling",
"repo": "devenv-nixpkgs",
"type": "github"
}
},
"nixpkgs-src": {
"flake": false,
"locked": {
"lastModified": 1769922788,
"narHash": "sha256-H3AfG4ObMDTkTJYkd8cz1/RbY9LatN5Mk4UF48VuSXc=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "207d15f1a6603226e1e223dc79ac29c7846da32e", "rev": "0c88e1f2bdb93d5999019e99cb0e61e1fe2af4c5",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "NixOS", "owner": "NixOS",
"ref": "nixpkgs-unstable", "ref": "nixos-25.11",
"repo": "nixpkgs", "repo": "nixpkgs",
"type": "github" "type": "github"
} }
@ -111,10 +96,7 @@
"inputs": { "inputs": {
"devenv": "devenv", "devenv": "devenv",
"git-hooks": "git-hooks", "git-hooks": "git-hooks",
"nixpkgs": "nixpkgs", "nixpkgs": "nixpkgs"
"pre-commit-hooks": [
"git-hooks"
]
} }
} }
}, },

View file

@ -2,12 +2,15 @@
{ {
languages.ansible.enable = true; languages.ansible.enable = true;
languages.ansible.package = pkgs.ansible_2_18;
languages.opentofu.enable = true; languages.opentofu.enable = true;
languages.python.enable = true; languages.python.enable = true;
languages.python.uv.enable = true; languages.python.uv.enable = true;
languages.python.uv.sync.enable = true; languages.python.uv.sync.enable = true;
languages.python.venv.enable = true; languages.python.venv.enable = true;
dotenv.disableHint = true;
packages = [ packages = [
pkgs.d2 pkgs.d2
pkgs.dnscontrol pkgs.dnscontrol
@ -20,8 +23,10 @@
set +a set +a
''; '';
git-hooks.hooks.ansible-lint.enable = true; git-hooks.hooks.ansible-lint = {
git-hooks.hooks.ansible-lint.verbose = true; enable = false;
verbose = true;
};
git-hooks.hooks.gitleaks = { git-hooks.hooks.gitleaks = {
enable = true; enable = true;

View file

@ -1,15 +1,8 @@
# yaml-language-server: $schema=https://devenv.sh/devenv.schema.json
inputs: inputs:
git-hooks:
url: github:cachix/git-hooks.nix
inputs:
nixpkgs:
follows: nixpkgs
nixpkgs: nixpkgs:
url: github:cachix/devenv-nixpkgs/rolling url: github:NixOS/nixpkgs/nixos-25.11
# If you're using non-OSS software, you can set allowUnfree to true.
# allowUnfree: true
# If you're willing to use a package that's vulnerable
# permittedInsecurePackages:
# - "openssl-1.1.1w"
# If you have more than one devenv you can merge them
# imports:
# - ./backend

View file

@ -1,49 +0,0 @@
---
- name: Run all roles
hosts: serguzim_net
vars:
host_services: "{{ all_services | services_for_host(inventory_hostname) }}"
roles:
- acme_dns
- always
- authentik
- backup
- caddy
- deploy
- dmarc_report
- dokku
- extra_services
- factorio
- forgejo
- forgejo_runner
- gatus
- healthcheck
- homebox
- immich
- immich_worker
- influxdb
- jellyfin
- jitsi
- lego
- lgtm_stack
- loki
- mailcowdockerized
- minecraft_2
- minecraft_3
- minio
- node_exporter
- ntfy
- postgresql
- reitanlage_oranienburg
- shlink
- software
- synapse
- tandoor
- teamspeak_fallback
- tinytinyrss
- umami
- vikunja
- watchtower
- webdis
- wiki_js
- woodpecker

View file

@ -71,7 +71,7 @@
community.postgresql.postgresql_alter_system: community.postgresql.postgresql_alter_system:
login_unix_socket: /var/run/postgresql login_unix_socket: /var/run/postgresql
login_user: postgres login_user: postgres
name: "{{ item.name }}" param: "{{ item.name }}"
value: "{{ item.value }}" value: "{{ item.value }}"
loop: "{{ postgresql_set_vars | dict2items(key_name='name', value_name='value') }}" loop: "{{ postgresql_set_vars | dict2items(key_name='name', value_name='value') }}"
register: postgresql_set register: postgresql_set