nixos/modules/desktop/fireproof-shell.nix

21 lines
401 B
Nix
Raw Normal View History

2025-02-24 22:52:19 +01:00
{
config,
inputs,
pkgs,
...
}: let
primaryMonitorName =
if builtins.length config.monitors > 0
then (builtins.elemAt config.monitors 0).name
else "";
in {
environment.systemPackages = [
inputs.fireproof-shell.packages.${pkgs.system}.fireproof-shell
];
programs.fireproof-shell = {
enable = true;
systemd = true;
monitor.primary = primaryMonitorName;
};
2025-02-24 22:52:19 +01:00
}