16 lines
290 B
Nix
16 lines
290 B
Nix
{ config, lib, pkgs, ... }:
|
|
|
|
let cfg = config.sydnix.guile;
|
|
in {
|
|
options.sydnix.guile = {
|
|
enable = lib.mkEnableOption "Guile Scheme";
|
|
};
|
|
|
|
config = lib.mkIf cfg.enable {
|
|
home.file.".guile".text = ''
|
|
(use-modules (ice-9 readline))
|
|
(activate-readline)
|
|
'';
|
|
};
|
|
}
|