mirror of
https://github.com/Stunkymonkey/nixos.git
synced 2025-05-24 09:54:40 +02:00
profile/latex: init from legacy
This commit is contained in:
parent
5bd3f8de0a
commit
1fe6a7bcc0
4 changed files with 21 additions and 10 deletions
|
@ -1,10 +0,0 @@
|
||||||
{ config, pkgs, ... }:
|
|
||||||
{
|
|
||||||
environment.systemPackages = with pkgs; [
|
|
||||||
biber
|
|
||||||
pdfpc
|
|
||||||
qtikz
|
|
||||||
texlive.combined.scheme-full
|
|
||||||
texstudio
|
|
||||||
];
|
|
||||||
}
|
|
|
@ -6,6 +6,7 @@ in
|
||||||
{
|
{
|
||||||
my.profiles = {
|
my.profiles = {
|
||||||
android.enable = true;
|
android.enable = true;
|
||||||
|
latex.enable = true;
|
||||||
printing.enable = true;
|
printing.enable = true;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -3,6 +3,7 @@
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
./android
|
./android
|
||||||
|
./latex
|
||||||
./printing
|
./printing
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
19
profiles/latex/default.nix
Normal file
19
profiles/latex/default.nix
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
{ config, lib, pkgs, ... }:
|
||||||
|
let
|
||||||
|
cfg = config.my.profiles.latex;
|
||||||
|
in
|
||||||
|
{
|
||||||
|
options.my.profiles.latex = with lib; {
|
||||||
|
enable = mkEnableOption "latex profile";
|
||||||
|
};
|
||||||
|
|
||||||
|
config = lib.mkIf cfg.enable {
|
||||||
|
environment.systemPackages = with pkgs; [
|
||||||
|
biber
|
||||||
|
pdfpc
|
||||||
|
qtikz
|
||||||
|
texlive.combined.scheme-full
|
||||||
|
texstudio
|
||||||
|
];
|
||||||
|
};
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue