geogebra
This commit is contained in:
parent
d983b9ad92
commit
f5a34ca35a
3 changed files with 22 additions and 3 deletions
|
@ -4,5 +4,6 @@
|
|||
./gaming
|
||||
./programs
|
||||
./desktop
|
||||
./school
|
||||
];
|
||||
}
|
||||
|
|
19
home-modules/xun/school/default.nix
Normal file
19
home-modules/xun/school/default.nix
Normal file
|
@ -0,0 +1,19 @@
|
|||
{
|
||||
pkgs,
|
||||
config,
|
||||
lib,
|
||||
...
|
||||
}: let
|
||||
cfg = config.xun.school;
|
||||
in {
|
||||
options.xun.school = {
|
||||
geogebra.enable = lib.mkEnableOption "geogebra";
|
||||
};
|
||||
config = lib.mkMerge [
|
||||
(lib.mkIf cfg.geogebra.enable {
|
||||
home.packages = with pkgs; [
|
||||
geogebra6
|
||||
];
|
||||
})
|
||||
];
|
||||
}
|
|
@ -90,8 +90,7 @@
|
|||
c = enabled;
|
||||
};
|
||||
};
|
||||
gaming = {
|
||||
roblox.sobercookie = enabled;
|
||||
};
|
||||
gaming.roblox.sobercookie = enabled;
|
||||
school.geogebra = enabled;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue