mirror of
https://github.com/ivabus/nixos
synced 2024-11-10 02:25:18 +03:00
Ivan Bushchik
4afe642684
NOTE: any config other than stella will not be working for a while Signed-off-by: Ivan Bushchik <ivabus@ivabus.dev>
12 lines
272 B
Nix
12 lines
272 B
Nix
{ config, pkgs, lib, ... }:
|
|
|
|
let
|
|
cfg = config.my.roles.latex;
|
|
in {
|
|
options.my.roles.latex.enable = lib.mkEnableOption "Enable latex stuff";
|
|
config = lib.mkIf (cfg.enable){
|
|
environment.systemPackages = with pkgs; [
|
|
texlive.combined.scheme-full
|
|
];
|
|
};
|
|
} |