fork/home-manager

git clone https://git.julia.blue/fork/home-manager

Kirill Elaginsagemath: add module204f9808

master
406 B20 linesraw
1{ config, ... }:
2
3{
4  programs.sagemath = {
5    enable = true;
6    configDir = "${config.xdg.configHome}/sage";
7    dataDir = "${config.xdg.dataHome}/sage";
8    initScript = ''
9      %colors linux
10    '';
11  };
12
13  test.stubs.sage = { };
14
15  nmt.script = ''
16    assertFileExists home-files/.config/sage/init.sage
17    assertFileContent home-files/.config/sage/init.sage \
18      ${./init-expected.sage}
19  '';
20}