This commit is contained in:
RingOfStorms (Joshua Bell) 2024-12-16 02:39:03 -06:00
parent 6256010acd
commit ce5b732dfa
7 changed files with 156 additions and 114 deletions

26
modules/saber.nix Normal file
View file

@ -0,0 +1,26 @@
{
config,
lib,
pkgs,
settings,
...
}:
with lib;
let
name = "saber";
cfg = config.mods.${name};
in
{
options = {
mods.${name} = {
enable = mkEnableOption (lib.mdDoc "Enable ${name}");
};
};
config = mkIf cfg.enable {
environment.systemPackages = with pkgs; [
saber
];
};
}