2025-01-18 11:55:12 -05:00
|
|
|
{
|
|
|
|
config,
|
|
|
|
lib,
|
|
|
|
pkgs,
|
|
|
|
...
|
|
|
|
}:
|
|
|
|
|
|
|
|
let
|
|
|
|
launch_terminal = pkgs.writeTextFile {
|
|
|
|
name = "launch_terminal.conf";
|
|
|
|
text = ''
|
|
|
|
exec ${pkgs.alacritty}/bin/alacritty
|
|
|
|
'';
|
|
|
|
};
|
|
|
|
in
|
|
|
|
{
|
|
|
|
imports = [ ];
|
|
|
|
|
2025-01-20 20:06:33 -05:00
|
|
|
config = lib.mkIf (config.me.buildingIso && config.me.graphical && config.me.sway.enable) {
|
2025-01-18 11:55:12 -05:00
|
|
|
# Launch a terminal at boot in the live ISO for when hotkeys don't work.
|
|
|
|
me.swayIncludes = [
|
|
|
|
launch_terminal
|
|
|
|
];
|
|
|
|
};
|
|
|
|
}
|