Add linting, formatting, and CI infrastructure

- Add deadnix, nixfmt, and statix to flake inputs
- Add formatter output to flake for nix fmt support
- Add deadnix, nixfmt, statix to Home Manager packages
- Add GitHub Actions workflow for CI validation
- Add .pre-commit-config.yaml with hooks for nixfmt, deadnix, and statix
- Support x86_64-darwin in formatter
This commit is contained in:
Gene Liverman 2026-03-22 18:32:20 -04:00
parent 582f93d9ed
commit 5dbcce7686
No known key found for this signature in database
76 changed files with 1522 additions and 831 deletions

View file

@ -1,7 +1,9 @@
{ ... }: let
_:
let
volume_base = "/var/lib/audiobookshelf";
http_port = "13378";
in {
in
{
# Audiobookshelf
virtualisation.oci-containers.containers = {

View file

@ -1,6 +1,8 @@
{ config, username, ... }: let
{ config, ... }:
let
volume_base = "/orico/mountain-mesh-bot-discord";
in {
in
{
# My mountain-mesh-bot-discord container
virtualisation.oci-containers.containers = {
@ -17,6 +19,8 @@ in {
sops.secrets.mtnmesh_bot_dot_env = {
path = "${volume_base}/.env";
restartUnits = [ "${config.virtualisation.oci-containers.containers.mtnmesh_bot_discord.serviceName}" ];
restartUnits = [
"${config.virtualisation.oci-containers.containers.mtnmesh_bot_discord.serviceName}"
];
};
}

View file

@ -1,8 +1,10 @@
{ config, ... }: let
{ config, ... }:
let
volume_base = "/orico/psitransfer";
http_port = "3000";
psitransfer_dot_env = "${config.sops.secrets.psitransfer_dot_env.path}";
in {
in
{
#############################################################################
# My intent as of now is to only make this available to the outside world #
@ -29,4 +31,3 @@ in {
};
};
}