chore: update flake

This commit is contained in:
Christoph Hollizeck 2025-03-23 00:45:45 +01:00
parent 006871be68
commit d294132e24
Signed by: Daholli
GPG key ID: 249300664F2AF2C7
3 changed files with 144 additions and 124 deletions

View file

@ -0,0 +1,23 @@
{
config,
lib,
namespace,
options,
pkgs,
...
}:
let
inherit (lib) mkIf mkEnableOption;
cfg = config.${namespace}.apps.starsector;
in
{
options.${namespace}.apps.starsector = {
enable = mkEnableOption "Whether or not to enable the game starsector.";
};
config = mkIf cfg.enable {
environment.systemPackages = with pkgs; [
starsector
];
};
}