enforce new flake schema. formatting.
Some checks failed
Build tests / build-hosts (pull_request) Failing after 3s
Flake check / flake-check (pull_request) Failing after 13s

This commit is contained in:
sid 2026-05-31 18:50:41 +02:00
parent 4b0a90e00d
commit ecf5132cbb
121 changed files with 1606 additions and 1554 deletions

View file

@ -1 +1,2 @@
# shellcheck shell=bash
use flake

View file

@ -1,23 +1,20 @@
---
name: C Nix Pipeline
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
on: # yamllint disable-line
jobs:
build-and-test:
name: Build and Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Nix
uses: cachix/install-nix-action@v18
with:
- uses: actions/checkout@v3
- name: Set up Nix
uses: cachix/install-nix-action@v18
with:
nix_path: nixpkgs=channel:nixos-unstable
- name: Run nix flake check
run: nix flake check
- name: Run nix flake check
run: nix flake check

View file

@ -1,2 +1,3 @@
#!/usr/bin/env bash
make clean
bear --output build/compile_commands.json -- make all

View file

@ -81,7 +81,7 @@
system:
let
pkgs = nixpkgs.legacyPackages.${system};
config = self.checks.${system}.pre-commit-check.config;
inherit (self.checks.${system}.pre-commit-check) config;
inherit (config) package configFile;
script = ''
${pkgs.lib.getExe package} run --all-files --config ${configFile}

View file

@ -1 +1,2 @@
# shellcheck shell=bash
use flake

View file

@ -56,7 +56,7 @@
pkgs = nixpkgsFor.${system};
in
{
default = esp.devShells."${system}".default;
inherit (esp.devShells."${system}") default;
}
);
@ -64,7 +64,7 @@
system:
let
pkgs = nixpkgs.legacyPackages.${system};
config = self.checks.${system}.pre-commit-check.config;
inherit (self.checks.${system}.pre-commit-check) config;
inherit (config) package configFile;
script = ''
${pkgs.lib.getExe package} run --all-files --config ${configFile}

View file

@ -1,2 +1,3 @@
---
dependencies:
espressif/led_strip: "^3.0.0"

View file

@ -1 +1,2 @@
# shellcheck shell=bash
use flake

View file

@ -1,23 +1,20 @@
---
name: Python Nix Pipeline
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
on: # yamllint disable-line
jobs:
build-and-test:
name: Build and Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Nix
uses: cachix/install-nix-action@v18
with:
- uses: actions/checkout@v3
- name: Set up Nix
uses: cachix/install-nix-action@v18
with:
nix_path: nixpkgs=channel:nixos-unstable
- name: Run nix flake check
run: nix flake check
- name: Run nix flake check
run: nix flake check

View file

@ -54,7 +54,7 @@
system:
let
pkgs = nixpkgs.legacyPackages.${system};
config = self.checks.${system}.pre-commit-check.config;
inherit (self.checks.${system}.pre-commit-check) config;
inherit (config) package configFile;
script = ''
${pkgs.lib.getExe package} run --all-files --config ${configFile}

View file

@ -8,7 +8,7 @@
let
cfg = config.services.flask_hello;
domain = config.networking.domain;
inherit (config.networking) domain;
fqdn = if (cfg.nginx.subdomain != "") then "${cfg.nginx.subdomain}.${domain}" else domain;
python-with-packages = pkgs.python3.withPackages (
@ -109,7 +109,7 @@ in
users.users."${cfg.user}" = {
home = "/var/lib/${cfg.user}";
isSystemUser = true;
group = cfg.group;
inherit (cfg) group;
};
users.groups."${cfg.group}" = { };

View file

@ -1,23 +1,20 @@
---
name: Python Nix Pipeline
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
on: # yamllint disable-line
jobs:
build-and-test:
name: Build and Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Nix
uses: cachix/install-nix-action@v18
with:
- uses: actions/checkout@v3
- name: Set up Nix
uses: cachix/install-nix-action@v18
with:
nix_path: nixpkgs=channel:nixos-unstable
- name: Run nix flake check
run: nix flake check
- name: Run nix flake check
run: nix flake check

View file

@ -105,7 +105,7 @@
system:
let
pkgs = nixpkgs.legacyPackages.${system};
config = self.checks.${system}.pre-commit-check.config;
inherit (self.checks.${system}.pre-commit-check) config;
inherit (config) package configFile;
script = ''
${pkgs.lib.getExe package} run --all-files --config ${configFile}

View file

@ -1,26 +1,23 @@
---
name: Rust Nix Pipeline
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
on: # yamllint disable-line
jobs:
build-and-test:
name: Build and Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Nix
uses: cachix/install-nix-action@v18
with:
- uses: actions/checkout@v3
- name: Set up Nix
uses: cachix/install-nix-action@v18
with:
nix_path: nixpkgs=channel:nixos-unstable
- name: Run cargo tests in dev shell
run: nix develop --command bash -c "cargo test"
- name: Run nix flake check
run: nix flake check
- name: Run cargo tests in dev shell
run: nix develop --command bash -c "cargo test"
- name: Run nix flake check
run: nix flake check

View file

@ -76,7 +76,7 @@
system:
let
pkgs = nixpkgs.legacyPackages.${system};
config = self.checks.${system}.pre-commit-check.config;
inherit (self.checks.${system}.pre-commit-check) config;
inherit (config) package configFile;
script = ''
${pkgs.lib.getExe package} run --all-files --config ${configFile}

View file

@ -1 +1,2 @@
# shellcheck shell=bash
use flake