Compare commits

..

2 commits

Author SHA1 Message Date
1a4f685c16
services/paperless: init
Some checks failed
/ check (pull_request) Failing after 2s
2025-06-02 19:40:24 +02:00
4d21f49551
modules/system/builder: init remote-builder module 2025-06-02 19:40:24 +02:00
5 changed files with 10 additions and 14 deletions

View file

@ -37,8 +37,6 @@
};
certificateScheme = "acme-nginx";
stateVersion = 2;
};
# TODO: Remove once SNM gets their shit together

View file

@ -1,16 +1,16 @@
{ config, lib, ... }:
let
builderUsers = lib.fp.pipe [
(lib.attrs.filter (
builderUsers = lib.pipe config.assets.sshKeys.system [
(lib.filterAttrs (
name: _:
!builtins.elem name [
!lib.elem name [
"youko"
"kazuki"
"ude"
]
))
builtins.attrValues
] config.assets.sshKeys.system;
lib.attrValues
];
in
{
config.systems.nixos.youko.module =

View file

@ -88,7 +88,7 @@
darwin-systems' = map (system: system.result.config.system.build.toplevel) darwin-systems;
all-drvs = all-packages' ++ nixos-systems' ++ darwin-systems';
all-drvs' = builtins.concatStringsSep "\n" all-drvs;
all-drvs' = lib.strings.concatMapSep "\n" builtins.unsafeDiscardStringContext all-drvs;
in
mkPackage (
{ runCommand }:
@ -104,7 +104,7 @@
system,
}:
writeShellScript "ci-check" ''
nix-instantiate --strict --eval -E 'import ./nilla.nix {}' -A packages.__allPackages.result.${system}.outPath
nix-instantiate --eval -E 'import ./nilla.nix {}' -A packages.__allPackages.result.${system}.outPath
"${lib.getExe config.packages.formatter.result.${system}}" --ci
''
);
@ -128,7 +128,6 @@
config.packages.agenix.result.${system}
config.packages.attic-client.result.${system}
config.packages.nh.result.${system}
config.packages.formatter.result.${system}
];
};
};

View file

@ -13,8 +13,7 @@ rustPlatform.buildRustPackage {
inherit src;
strictDeps = true;
useFetchCargoVendor = true;
cargoHash = "sha256-gNcpB2LMZU18RIxVu+mJfa4+lB5rNIRcZ2DJPvZCdQo=";
cargoLock.lockFile = "${src}/Cargo.lock";
nativeBuildInputs = [ rustPlatform.bindgenHook ];

View file

@ -1,8 +1,8 @@
{
config.services.paperless = {
services.paperless = {
host = "youko";
ports = [ 28981 ];
module =
config =
{ config, ... }:
{
age.secrets.rab-lol-cf = {