Skip to content

Commit

Permalink
added option for graphical
Browse files Browse the repository at this point in the history
  • Loading branch information
olynch committed Jan 9, 2024
1 parent 7fc4206 commit b7debcd
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
1 change: 1 addition & 0 deletions fhs.nix
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ let
pdf2svg
qt4
systemd
glfw3
xorg.libICE
xorg.libSM
xorg.libX11
Expand Down
6 changes: 6 additions & 0 deletions module.nix
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,19 @@ in
type = types.bool;
default = false;
};

enableGraphical = mkOption {
type = types.bool;
default = false;
};
};
config = {
home.packages = builtins.concatMap
(version-spec:
let
scientific-fhs = pkgs.callPackage ./fhs.nix {
enableNVIDIA = cfg.enableNVIDIA;
enableGraphical = cfg.enableGraphical;
juliaVersion = version-spec.version;
};
fhsCommand = commandName: commandScript:
Expand Down
2 changes: 1 addition & 1 deletion result

0 comments on commit b7debcd

Please sign in to comment.