Fix checks
Some checks failed
CI / build (push) Has been cancelled

This commit is contained in:
Fabian Hauser 2025-01-16 14:09:33 +02:00
parent 80f09cb54b
commit 36897e6ae4
5 changed files with 9 additions and 13 deletions

View file

@ -12,7 +12,6 @@
# Enable sound. # Enable sound.
nixpkgs.config.pulseaudio = true; nixpkgs.config.pulseaudio = true;
services.pulseaudio.enable = false; services.pulseaudio.enable = false;
services.pipewire = { services.pipewire = {
enable = true; enable = true;

View file

@ -63,6 +63,7 @@
"ochsenchopf" "ochsenchopf"
]; ];
in in
with pkgsUnstable.lib;
{ {
# Build with `nixos-rebuild --flake .#<hostname>` or # Build with `nixos-rebuild --flake .#<hostname>` or
# `nix build .#nixosConfigurations.<hostname>.config.system.build.toplevel # `nix build .#nixosConfigurations.<hostname>.config.system.build.toplevel
@ -100,19 +101,13 @@
] ++ (if host == "bachtel" then [ ] else [ home-manager-config ]); ] ++ (if host == "bachtel" then [ ] else [ home-manager-config ]);
}; };
in in
pkgsUnstable.lib.genAttrs hosts mapHostnameToAttr; genAttrs hosts mapHostnameToAttr;
# Nix development shell
devShells.${system}.default = import ./shell.nix { pkgs = pkgsUnstable; };
# Run checks and build all hosts as default package
packages.${system}.default = packages.${system}.default =
with pkgsUnstable.lib;
let let
checks = attrValues self.checks.${system};
nixosConfigs = mapAttrsToList (n: v: v.config.system.build.toplevel) self.nixosConfigurations; nixosConfigs = mapAttrsToList (n: v: v.config.system.build.toplevel) self.nixosConfigurations;
in in
pkgsUnstable.linkFarmFromDrvs "allHosts" (checks ++ nixosConfigs); pkgsUnstable.linkFarmFromDrvs "all" nixosConfigs;
formatter.${system} = pkgsUnstable.nixfmt-rfc-style; formatter.${system} = pkgsUnstable.nixfmt-rfc-style;
}; };

View file

@ -20,7 +20,8 @@
"personal-cipher-preferences" = "AES256 AES192 AES CAST5"; "personal-cipher-preferences" = "AES256 AES192 AES CAST5";
"cert-digest-algo" = "SHA512"; "cert-digest-algo" = "SHA512";
"personal-digest-preferences" = "SHA512 SHA384 SHA256 SHA224"; "personal-digest-preferences" = "SHA512 SHA384 SHA256 SHA224";
"default-preference-list" = "SHA512 SHA384 SHA256 SHA224 AES256 AES192 AES CAST5 ZLIB BZIP2 ZIP Uncompressed"; "default-preference-list" =
"SHA512 SHA384 SHA256 SHA224 AES256 AES192 AES CAST5 ZLIB BZIP2 ZIP Uncompressed";
"display-charset" = "utf-8"; "display-charset" = "utf-8";
"fixed-list-mode" = true; "fixed-list-mode" = true;
"with-fingerprint" = true; "with-fingerprint" = true;

View file

@ -57,7 +57,8 @@
libdvbpsi # librtmp libdvbpsi # librtmp
xvidcore xvidcore
x264 x264
] ++ (with gst_all_1; [ ]
++ (with gst_all_1; [
gstreamer gstreamer
gst-vaapi gst-vaapi
gst-rtsp-server gst-rtsp-server