blob: 958f3484daf5935b244911953dbbc37e6e7b6443 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
{
description = "My CV project";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-23.11";
devenv.url = "github:cachix/devenv";
};
outputs = inputs@{ flake-parts, nixpkgs, ... }:
flake-parts.lib.mkFlake { inherit inputs; } {
imports = [
inputs.devenv.flakeModule
];
systems = nixpkgs.lib.systems.flakeExposed;
perSystem = { config, self', inputs', pkgs, system, ... }: {
packages.default = pkgs.hello;
devenv.shells.texlive = {
packages = [ config.packages.default pkgs.noto-fonts-cjk-sans pkgs.inotify-tools ];
languages.texlive.enable = true;
languages.texlive.packages = [
"scheme-medium"
"xifthen"
"ifmtarg"
"titlesec"
"titling"
"libertine"
"cjk"
"noto"
];
enterShell = ''
echo this is my cv project shell.
'';
};
};
};
}
|