My Nix Configuration
1{ 2 lib, 3 config, 4 pkgs, 5 ... 6}: 7let 8 cfg = config.py.programs.onagre; 9in 10{ 11 options.py.programs.onagre.enable = lib.mkEnableOption "onagre"; 12 config.home.packages = lib.mkIf cfg.enable [ pkgs.onagre ]; 13}