replace variant argument with modules
All checks were successful
/ build-all (push) Successful in 1m18s

This commit is contained in:
Antoine Vaure 2025-09-03 16:11:05 +02:00
parent f2608d0a82
commit 1a0086f941
13 changed files with 586 additions and 577 deletions

View file

@ -1,16 +1,10 @@
{ lib, pkgs, variant, ... }:
{ lib, pkgs, ... }:
{
programs.fish = {
enable = true;
loginShellInit = ''
set -gx fish_greeting
'' +
(if variant == "allegro" then ''
source ${pkgs.nix}/etc/profile.d/nix.fish
if test $(tty) = /dev/tty2
nixGLIntel Hyprland
end
'' else "");
'';
interactiveShellInit = ''
set -gx fish_greeting
@ -118,8 +112,6 @@
gdb_asan = "gdb -tui -ex='break __asan::ReportGenericError'";
gdb_ubsan = "gdb -tui -ex='break __ubsan::ScopedReport::~ScopedReport'";
gdb_msan = "gdb -tui -ex='break __sanitizer::Die'";
} // lib.attrsets.optionalAttrs (variant == "allegro") {
d = "./run_in_container.sh docker/ci.Dockerfile.signature";
};
plugins = [