Update devenv stuff
This commit is contained in:
parent
254501c6a2
commit
4651901b12
5 changed files with 30 additions and 99 deletions
48
devenv.lock
48
devenv.lock
|
|
@ -3,10 +3,11 @@
|
|||
"devenv": {
|
||||
"locked": {
|
||||
"dir": "src/modules",
|
||||
"lastModified": 1774725838,
|
||||
"lastModified": 1778071019,
|
||||
"narHash": "sha256-vb4UzOKKdLext4faiI1KbI0yrTKNdI8wyxHvOMycWd8=",
|
||||
"owner": "cachix",
|
||||
"repo": "devenv",
|
||||
"rev": "488860aa6389de926c6f465f176e0ed83cbe8077",
|
||||
"rev": "a3ebee0b80ce56ae4acba2c971c09ee6eca75338",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
@ -20,6 +21,7 @@
|
|||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1767039857,
|
||||
"narHash": "sha256-vNpUSpF5Nuw8xvDLj2KCwwksIbjua2LZCqhV1LNRDns=",
|
||||
"owner": "NixOS",
|
||||
"repo": "flake-compat",
|
||||
"rev": "5edf11c44bc78a0d334f6334cdaf7d60d732daab",
|
||||
|
|
@ -40,10 +42,11 @@
|
|||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1774104215,
|
||||
"lastModified": 1776796298,
|
||||
"narHash": "sha256-PcRvlWayisPSjd0UcRQbhG8Oqw78AcPE6x872cPRHN8=",
|
||||
"owner": "cachix",
|
||||
"repo": "git-hooks.nix",
|
||||
"rev": "f799ae951fde0627157f40aec28dec27b22076d0",
|
||||
"rev": "3cfd774b0a530725a077e17354fbdb87ea1c4aad",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
@ -60,10 +63,11 @@
|
|||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1762808025,
|
||||
"lastModified": 1709087332,
|
||||
"narHash": "sha256-HG2cCnktfHsKV0s4XW83gU3F57gaTljL9KNSuG6bnQs=",
|
||||
"owner": "hercules-ci",
|
||||
"repo": "gitignore.nix",
|
||||
"rev": "cb5e3fdca1de58ccbc3ef53de65bd372b48f567c",
|
||||
"rev": "637db329424fd7e46cf4185293b9cc8c88c95394",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
@ -73,36 +77,17 @@
|
|||
}
|
||||
},
|
||||
"nixpkgs": {
|
||||
"inputs": {
|
||||
"nixpkgs-src": "nixpkgs-src"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1774287239,
|
||||
"owner": "cachix",
|
||||
"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=",
|
||||
"lastModified": 1778003029,
|
||||
"narHash": "sha256-q/nkKLDtHIyLjZpKhWk3cSK5IYsFqtMd6UtXF3ddjgA=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "207d15f1a6603226e1e223dc79ac29c7846da32e",
|
||||
"rev": "0c88e1f2bdb93d5999019e99cb0e61e1fe2af4c5",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "NixOS",
|
||||
"ref": "nixpkgs-unstable",
|
||||
"ref": "nixos-25.11",
|
||||
"repo": "nixpkgs",
|
||||
"type": "github"
|
||||
}
|
||||
|
|
@ -111,10 +96,7 @@
|
|||
"inputs": {
|
||||
"devenv": "devenv",
|
||||
"git-hooks": "git-hooks",
|
||||
"nixpkgs": "nixpkgs",
|
||||
"pre-commit-hooks": [
|
||||
"git-hooks"
|
||||
]
|
||||
"nixpkgs": "nixpkgs"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
|
|||
|
|
@ -2,12 +2,15 @@
|
|||
|
||||
{
|
||||
languages.ansible.enable = true;
|
||||
languages.ansible.package = pkgs.ansible_2_18;
|
||||
languages.opentofu.enable = true;
|
||||
languages.python.enable = true;
|
||||
languages.python.uv.enable = true;
|
||||
languages.python.uv.sync.enable = true;
|
||||
languages.python.venv.enable = true;
|
||||
|
||||
dotenv.disableHint = true;
|
||||
|
||||
packages = [
|
||||
pkgs.d2
|
||||
pkgs.dnscontrol
|
||||
|
|
@ -20,8 +23,10 @@
|
|||
set +a
|
||||
'';
|
||||
|
||||
git-hooks.hooks.ansible-lint.enable = true;
|
||||
git-hooks.hooks.ansible-lint.verbose = true;
|
||||
git-hooks.hooks.ansible-lint = {
|
||||
enable = false;
|
||||
verbose = true;
|
||||
};
|
||||
|
||||
git-hooks.hooks.gitleaks = {
|
||||
enable = true;
|
||||
|
|
|
|||
19
devenv.yaml
19
devenv.yaml
|
|
@ -1,15 +1,8 @@
|
|||
# yaml-language-server: $schema=https://devenv.sh/devenv.schema.json
|
||||
inputs:
|
||||
git-hooks:
|
||||
url: github:cachix/git-hooks.nix
|
||||
inputs:
|
||||
nixpkgs:
|
||||
url: github:cachix/devenv-nixpkgs/rolling
|
||||
|
||||
# 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
|
||||
follows: nixpkgs
|
||||
nixpkgs:
|
||||
url: github:NixOS/nixpkgs/nixos-25.11
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
@ -71,7 +71,7 @@
|
|||
community.postgresql.postgresql_alter_system:
|
||||
login_unix_socket: /var/run/postgresql
|
||||
login_user: postgres
|
||||
name: "{{ item.name }}"
|
||||
param: "{{ item.name }}"
|
||||
value: "{{ item.value }}"
|
||||
loop: "{{ postgresql_set_vars | dict2items(key_name='name', value_name='value') }}"
|
||||
register: postgresql_set
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue